[PATCH umr] Fix name of SQ_CMD register for halt/resume waves.

Tom St Denis tom.stdenis at amd.com
Mon Jul 31 22:50:33 UTC 2017


With that changed -wa works with halting waves.

Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
 src/lib/sq_cmd_halt_waves.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/sq_cmd_halt_waves.c b/src/lib/sq_cmd_halt_waves.c
index 83aa52d2cfb2..93e98d5a6035 100644
--- a/src/lib/sq_cmd_halt_waves.c
+++ b/src/lib/sq_cmd_halt_waves.c
@@ -30,7 +30,7 @@ int umr_sq_cmd_halt_waves(struct umr_asic *asic, enum umr_sq_cmd_halt_resume mod
 	uint32_t value;
 	uint64_t addr;
 
-	reg = umr_find_reg_data(asic, "SQ_CMD");
+	reg = umr_find_reg_data(asic, "mmSQ_CMD");
 	if (!reg) {
 		fprintf(stderr, "[BUG]: Cannot find SQ_CMD register in umr_sq_cmd_halt_waves()\n");
 		return -1;
-- 
2.12.0



More information about the amd-gfx mailing list