From 5718f7c8a7891d881a5b374975b1e8e7f8ead05e Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Tue, 16 Jun 2020 18:09:07 +0100 Subject: [PATCH] aco: fix waitcnt insertion on GFX10.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_insert_waitcnt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/aco_insert_waitcnt.cpp b/src/amd/compiler/aco_insert_waitcnt.cpp index 466158f81f3..db0c7c0d68c 100644 --- 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); -- 2.30.2