diff options
author | Ben Skeggs <[email protected]> | 2013-12-06 09:09:42 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2013-12-06 11:28:45 +1000 |
commit | 92ceb327bad73cfde0b68aafb3921067351617fd (patch) | |
tree | 47661d29285a6d5b7c6d33b8d4a9478da70e26d7 /src/gallium/winsys | |
parent | 26f3ff8a916d7315b2d6d23ee9e52d946b68a136 (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')
-rw-r--r-- | src/gallium/winsys/nouveau/drm/nouveau_drm_winsys.c | 3 |
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: |