Module: Mesa
Branch: master
Commit: e796fa22d44fa345bfe0cd779cff88f247bc17b6
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e796fa22d44fa345bfe0cd779cff88f247bc17b6

Author: Ilia Mirkin <[email protected]>
Date:   Thu Dec  5 21:43:07 2013 -0500

nvc0: make sure nvd7 gets NVC8_3D_CLASS as well

Signed-off-by: Ilia Mirkin <[email protected]>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c |    3 ++-
 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 2c3a697..0457e9f 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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to