summaryrefslogtreecommitdiff
path: root/src/nouveau_xv.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-03-28 16:38:30 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-04-14 02:07:57 +1000
commitfb3a36b1e5af0f81bb266da894d3442eed8e4e55 (patch)
tree313c88c391325f80b689935a7d8c5787513c65a8 /src/nouveau_xv.c
parent95be16d8cd88db1ace0ac4568b4c67b51fd30fd9 (diff)
nve0: initial exa/xv acceleration for kepler chipsets
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'src/nouveau_xv.c')
-rw-r--r--src/nouveau_xv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c
index a43225c..9ada296 100644
--- a/src/nouveau_xv.c
+++ b/src/nouveau_xv.c
@@ -256,7 +256,7 @@ nouveau_xv_bo_realloc(ScrnInfoPtr pScrn, unsigned flags, unsigned size,
if (pNv->Architecture == NV_ARCH_50)
config.nv50.memtype = 0x70;
else
- if (pNv->Architecture == NV_ARCH_C0)
+ if (pNv->Architecture >= NV_ARCH_C0)
config.nvc0.memtype = 0xfe;
}
flags |= NOUVEAU_BO_MAP;