[PATCH umr] wave_status: enable on Raven

Nicolai Hähnle nhaehnle at gmail.com
Wed Jul 26 10:23:47 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

I've been using this for a while now.

Signed-off-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
---
 src/lib/wave_status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/wave_status.c b/src/lib/wave_status.c
index 6b8098e..fe2add7 100644
--- a/src/lib/wave_status.c
+++ b/src/lib/wave_status.c
@@ -310,7 +310,7 @@ int umr_get_wave_status(struct umr_asic *asic, unsigned se, unsigned sh, unsigne
 
 int umr_get_wave_sq_info(struct umr_asic *asic, unsigned se, unsigned sh, unsigned cu, struct umr_wave_status *ws)
 {
-	if (asic->family <= FAMILY_AI)
+	if (asic->family <= FAMILY_RV)
 		return umr_get_wave_sq_info_vi(asic, se, sh, cu, ws);
 	return -1;
 }
-- 
2.9.3



More information about the amd-gfx mailing list