projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b75427c
)
aco: fix waitcnt insertion on GFX10.3
author
Rhys Perry
<pendingchaos02@gmail.com>
Tue, 16 Jun 2020 17:09:07 +0000
(18:09 +0100)
committer
Rhys Perry
<pendingchaos02@gmail.com>
Tue, 4 Aug 2020 19:39:32 +0000
(20:39 +0100)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5546>
src/amd/compiler/aco_insert_waitcnt.cpp
patch
|
blob
|
history
diff --git
a/src/amd/compiler/aco_insert_waitcnt.cpp
b/src/amd/compiler/aco_insert_waitcnt.cpp
index 466158f81f34fd1e141892c70ddd5ffa623cf09a..db0c7c0d68c38457a98a857e4632bcc178734ad2 100644
(file)
--- a/
src/amd/compiler/aco_insert_waitcnt.cpp
+++ b/
src/amd/compiler/aco_insert_waitcnt.cpp
@@
-155,6
+155,7
@@
struct wait_imm {
assert(exp == unset_counter || exp <= 0x7);
switch (chip) {
case GFX10:
+ case GFX10_3:
assert(lgkm == unset_counter || lgkm <= 0x3f);
assert(vm == unset_counter || vm <= 0x3f);
imm = ((vm & 0x30) << 10) | ((lgkm & 0x3f) << 8) | ((exp & 0x7) << 4) | (vm & 0xf);