nouveau/winsys: fix SM value for Ada

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Karol Herbst
2023-07-19 14:06:39 +02:00
committed by Marge Bot
parent 9ffbd53bb7
commit 5fb3298a95
+4 -1
View File
@@ -18,7 +18,10 @@
static uint8_t
sm_for_chipset(uint16_t chipset)
{
if (chipset >= 0x180)
if (chipset >= 0x190)
return 0x89;
// GH100 is older than AD10X, but is SM90
else if (chipset >= 0x180)
return 0x90;
else if (chipset == 0x17b)
return 0x87;