projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c0d86
)
nouveau: fix max_warps_per_mp_for_sm for builds with asserts disabled
author
Karol Herbst
<git@karolherbst.de>
Sat, 22 Jul 2023 17:33:45 +0000
(19:33 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:06 +0000
(21:32 +0000)
Fixes:
1b756be2bca
("nvk: properly calculate SLM region by taking per arch limits into account")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/winsys/nouveau_device.c
patch
|
blob
|
history
diff --git
a/src/nouveau/winsys/nouveau_device.c
b/src/nouveau/winsys/nouveau_device.c
index
49284b6
..
14f6a5f
100644
(file)
--- a/
src/nouveau/winsys/nouveau_device.c
+++ b/
src/nouveau/winsys/nouveau_device.c
@@
-109,6
+109,8
@@
max_warps_per_mp_for_sm(uint8_t sm)
return 64;
default:
assert(!"unkown SM version");
+ // return the biggest known value
+ return 64;
}
}