summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_calc.c
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2011-06-24 01:15:58 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-06-27 09:20:21 +1000
commit3b40d07d8c4a9dc33ee6e1b4ad1d377309531ffe (patch)
tree38cd910b50204feb4393420341593302a2aff2c5 /drivers/gpu/drm/nouveau/nouveau_calc.c
parent8fe198b2c6fd8455db9f07d712ee54e2a1d02783 (diff)
drm/nouveau: Calculate reserved VRAM for PRAMIN value before use.
'drm/nouveau: rework vram init/fini ordering a little' changed the order of instmem.init() and nouveau_mem_vram_init() which resulted in using ramin_rsvd_vram before it was calculated and failing to init any accel on pre-NV50 cards. Since it's only used on <NV50 just calculate it where it's needed and leave it as default 0 for NV50. Signed-off-by: Younes Manton <younes.m@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_calc.c')
0 files changed, 0 insertions, 0 deletions