diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-01-12 00:34:54 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-13 03:14:06 -0400 |
commit | 990449c77cafb77e7468722262c049675ab03e30 (patch) | |
tree | d6ed4aea5b2ce93eb294dfae870be30c7418527a /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | 4abb410a13eec3f49863be2e84ad062fef00dac0 (diff) |
drm/nv50-nvc0/vm: support unsnooped system memory
v2 (Emil Velikov <emil.l.velikov@gmail.com>):
- Fixed a regression on certain nv50 IGP due to not passing the correct
target type to nv50_vm_addr()
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Johannes Obermayr <johannesobermayr@gmx.de>
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 63e77fc282f2..3a69a4aabd35 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drv.h +++ b/drivers/gpu/drm/nouveau/nouveau_drv.h | |||
@@ -1759,6 +1759,7 @@ nv44_graph_class(struct drm_device *dev) | |||
1759 | #define NV_MEM_ACCESS_RW (NV_MEM_ACCESS_RO | NV_MEM_ACCESS_WO) | 1759 | #define NV_MEM_ACCESS_RW (NV_MEM_ACCESS_RO | NV_MEM_ACCESS_WO) |
1760 | #define NV_MEM_ACCESS_SYS 4 | 1760 | #define NV_MEM_ACCESS_SYS 4 |
1761 | #define NV_MEM_ACCESS_VM 8 | 1761 | #define NV_MEM_ACCESS_VM 8 |
1762 | #define NV_MEM_ACCESS_NOSNOOP 16 | ||
1762 | 1763 | ||
1763 | #define NV_MEM_TARGET_VRAM 0 | 1764 | #define NV_MEM_TARGET_VRAM 0 |
1764 | #define NV_MEM_TARGET_PCI 1 | 1765 | #define NV_MEM_TARGET_PCI 1 |