nvc0: make sure nvd7 gets NVC8_3D_CLASS as well
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 6 Dec 2013 02:43:07 +0000 (21:43 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 9 Dec 2013 14:10:37 +0000 (15:10 +0100)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index 2c3a6978d585226efd45a8720b375c55191d257b..0457e9f6b89332cf864c1bdbdba2de105b87e4aa 100644 (file)
@@ -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;