summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2018-02-15 20:13:20 +0200
committerIlia Mirkin <[email protected]>2018-02-17 14:16:10 -0500
commit5a1606c51f6619c5bd865c0a39276531bb1ee464 (patch)
treea1e9667f1206fcdd9bb65420949531f12da78b64 /src/gallium/drivers
parent9d21dbeb88bc99ca0e153c11265e19536ad36b61 (diff)
nvc0: Use GP100_COMPUTE_CLASS on GP10B
GP10B requires the use of GP100_COMPUTE_CLASS instead of GP104_COMPUTE_CLASS as is used for other non-GP100 chips. Signed-off-by: Mikko Perttunen <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nve4_compute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
index f641f4777df..28460f8cbeb 100644
--- a/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
+++ b/src/gallium/drivers/nouveau/nvc0/nve4_compute.c
@@ -59,7 +59,8 @@ nve4_screen_compute_setup(struct nvc0_screen *screen,
obj_class = GM200_COMPUTE_CLASS;
break;
case 0x130:
- obj_class = dev->chipset == 0x130 ? GP100_COMPUTE_CLASS : GP104_COMPUTE_CLASS;
+ obj_class = (dev->chipset == 0x130 || dev->chipset == 0x13b) ?
+ GP100_COMPUTE_CLASS : GP104_COMPUTE_CLASS;
break;
default:
NOUVEAU_ERR("unsupported chipset: NV%02x\n", dev->chipset);