[PATCH umr 07/17] gfx11: enable wave scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Nicolai Hähnle <nicolai.haehnle@xxxxxxx>
---
 src/lib/lowlevel/linux/read_gprwave.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/lib/lowlevel/linux/read_gprwave.c b/src/lib/lowlevel/linux/read_gprwave.c
index 6d68b7e..d357896 100644
--- a/src/lib/lowlevel/linux/read_gprwave.c
+++ b/src/lib/lowlevel/linux/read_gprwave.c
@@ -425,14 +425,12 @@ int umr_get_wave_status(struct umr_asic *asic, unsigned se, unsigned sh, unsigne
 		}
 		fprintf(asic->options.test_log_fd, "}\n");
 	}
 
 
 	return umr_parse_wave_data_gfx(asic, ws, buf);
 }
 
 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_NV)
-		return umr_get_wave_sq_info_vi(asic, se, sh, cu, ws);
-	return -1;
+	return umr_get_wave_sq_info_vi(asic, se, sh, cu, ws);
 }
-- 
2.40.0




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux