Skip to contentSkip to conversation

wave_status: enable on Raven

PATCH In review Nicolai Hähnle 2 participants 2 messages Jul 26, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wave_status: enable on Raven

From: Nicolai Hähnle <[email protected]>

I've been using this for a while now.

---
 src/lib/wave_status.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/wave_status.c +1 -1
index 6b8098e..fe2add7 100644
@@ -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;
 }
Signature · 6 lines
2.9.3

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 20170726102347.30044-1-nhaehnle-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

RB'ed and pushed.

Quoted 15 lines · Nicolai Hähnle

From: Nicolai Hähnle <[email protected]>

I've been using this for a while now.

---
  src/lib/wave_status.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/wave_status.c +0 -0
index 6b8098e..fe2add7 100644

src/lib/wave_status.c int umr_get_wave_status(struct umr_asic *asic, unsigned se, unsigned sh, unsigne · line 316

Quoted 8 lines
src/lib/wave_status.c +1 -1
@@ -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;
  }

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx