diff options
author | 2011-06-24 01:15:58 -0400 | |
---|---|---|
committer | 2011-06-27 09:20:21 +1000 | |
commit | 3b40d07d8c4a9dc33ee6e1b4ad1d377309531ffe (patch) | |
tree | 38cd910b50204feb4393420341593302a2aff2c5 /tools/perf/scripts/python | |
parent | drm/nouveau: fix nouveau_vma object leak (diff) | |
download | linux-dev-3b40d07d8c4a9dc33ee6e1b4ad1d377309531ffe.tar.xz linux-dev-3b40d07d8c4a9dc33ee6e1b4ad1d377309531ffe.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions