summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2013-12-06 09:09:42 +1000
committerBen Skeggs <[email protected]>2013-12-06 11:28:45 +1000
commit92ceb327bad73cfde0b68aafb3921067351617fd (patch)
tree47661d29285a6d5b7c6d33b8d4a9478da70e26d7 /src/gallium/winsys/nouveau
parent26f3ff8a916d7315b2d6d23ee9e52d946b68a136 (diff)
nvc0: fixup gk110 and up not being listed in various switch statements
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/winsys/nouveau')
-rw-r--r--src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
index 7e88eae3445..e4f27f6cb24 100644
--- a/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
+++ b/src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c
@@ -20,7 +20,7 @@ nouveau_drm_screen_create(int fd)
if (ret)
return NULL;
- switch (dev->chipset & 0xf0) {
+ switch (dev->chipset & ~0xf) {
case 0x30:
case 0x40:
case 0x60:
@@ -36,6 +36,7 @@ nouveau_drm_screen_create(int fd)
case 0xd0:
case 0xe0:
case 0xf0:
+ case 0x100:
init = nvc0_screen_create;
break;
default: