mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
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 <mperttunen@nvidia.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
9d21dbeb88
commit
5a1606c51f
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue