mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
aco: fix waitcnt insertion on GFX10.3
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>
This commit is contained in:
parent
b75427cc31
commit
5718f7c8a7
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue