summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2013-12-05 21:43:07 -0500
committerMaarten Lankhorst <[email protected]>2013-12-09 15:10:37 +0100
commite796fa22d44fa345bfe0cd779cff88f247bc17b6 (patch)
tree8a475eb80f574976cf3dbf583fba04fad96da546 /src
parent1386cb94882917e6eabc5b482ab8b443a2f1df51 (diff)
nvc0: make sure nvd7 gets NVC8_3D_CLASS as well
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 2c3a6978d58..0457e9f6b89 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -656,10 +656,11 @@ nvc0_screen_create(struct nouveau_device *dev)
obj_class = NVE4_3D_CLASS;
break;
case 0xd0:
+ obj_class = NVC8_3D_CLASS;
+ break;
case 0xc0:
default:
switch (dev->chipset) {
- case 0xd9:
case 0xc8:
obj_class = NVC8_3D_CLASS;
break;