diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-02-20 08:06:36 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-02-23 13:50:21 +1000 |
commit | 76befb8c30cebe2af83fa346bdaf75b430893511 (patch) | |
tree | 57dd1258fa78ab7c955d3bf87ebb584566f16727 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 531e77139f26e8da32ee694b9ee5e6f4c764f1db (diff) | |
download | linux-76befb8c30cebe2af83fa346bdaf75b430893511.tar.gz linux-76befb8c30cebe2af83fa346bdaf75b430893511.tar.bz2 linux-76befb8c30cebe2af83fa346bdaf75b430893511.zip |
drm/nv50: fix instmem binding on IGPs to point at stolen system memory
This also modifies the unused PRAMIN PT entries to be all zeroes, can't
really recall why I used 9/0 initially, just that it didn't work for
some reason. It was likely masking a bug elsewhere that's since been
fixed.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h index 5445cefdd03e..1c15ef37b71c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h @@ -583,6 +583,7 @@ struct drm_nouveau_private { uint64_t vm_end; struct nouveau_gpuobj *vm_vram_pt[NV50_VM_VRAM_NR]; int vm_vram_pt_nr; + uint64_t vram_sys_base; /* the mtrr covering the FB */ int fb_mtrr; |