diff options
author | Ben Skeggs <[email protected]> | 2017-02-21 10:01:16 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2017-02-21 10:01:16 +1000 |
commit | 8f4483b6090ce1e6f903dc14094b086d03c8af80 (patch) | |
tree | 0e60ff6696cc1ec6fb903017bb662e9111b675e1 /src/gallium/drivers/nouveau/nvc0 | |
parent | 6dbb0eaccc346ec5619b1782f7102353015eaa18 (diff) |
nvc0: use PascalB for most Pascal boards
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 30efac82233..6a67b268d80 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -898,7 +898,14 @@ nvc0_screen_create(struct nouveau_device *dev) switch (dev->chipset & ~0xf) { case 0x130: - obj_class = GP100_3D_CLASS; + switch (dev->chipset) { + case 0x130: + obj_class = GP100_3D_CLASS; + break; + default: + obj_class = GP102_3D_CLASS; + break; + } break; case 0x120: obj_class = GM200_3D_CLASS; |