All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH umr] Skip sq_cmd halt waves on SI ASICs
@ 2017-08-28 12:37 Tom St Denis
       [not found] ` <20170828123709.28252-1-tom.stdenis-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Tom St Denis @ 2017-08-28 12:37 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: Tom St Denis

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

diff --git a/src/lib/sq_cmd_halt_waves.c b/src/lib/sq_cmd_halt_waves.c
index 93e98d5a6035..8973138af90c 100644
--- a/src/lib/sq_cmd_halt_waves.c
+++ b/src/lib/sq_cmd_halt_waves.c
@@ -30,6 +30,10 @@ int umr_sq_cmd_halt_waves(struct umr_asic *asic, enum umr_sq_cmd_halt_resume mod
 	uint32_t value;
 	uint64_t addr;
 
+	// SQ_CMD is not present on SI
+	if (asic->family == FAMILY_SI)
+		return 0;
+
 	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");
-- 
2.12.0

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-28 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 12:37 [PATCH umr] Skip sq_cmd halt waves on SI ASICs Tom St Denis
     [not found] ` <20170828123709.28252-1-tom.stdenis-5C7GfCeVMHo@public.gmane.org>
2017-08-28 15:36   ` Deucher, Alexander

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.