From e796fa22d44fa345bfe0cd779cff88f247bc17b6 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Thu, 5 Dec 2013 21:43:07 -0500 Subject: [PATCH] nvc0: make sure nvd7 gets NVC8_3D_CLASS as well Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2