Switch GRBM index when reading wave data directly.
PATCH 1/1 Switch GRBM index when reading wave data directly.
Signed-off-by Tom St Denis <[email protected]>
--- src/lib/wave_status.c | 4 ++++ 1 file changed, 4 insertions(+)
src/lib/wave_status.c +4 -0
@@ -116,7 +116,9 @@ static int umr_get_wave_status_vi(struct umr_asic *asic, unsigned se, unsigned sread (asic->fd.wave, &buf,32 *4 ); }else {int n =0 ; +umr_grbm_select_index (asic, se, sh, cu);read_wave_status_via_mmio (asic, simd, wave, &buf[0 ], &n); +umr_grbm_select_index (asic,0xFFFFFFFF ,0xFFFFFFFF ,0xFFFFFFFF ); }if (buf[0 ] !=0 ) {
@@ -218,7 +220,9 @@ static int umr_get_wave_status_ai(struct umr_asic *asic, unsigned se, unsigned sread (asic->fd.wave, &buf,32 *4 ); }else {int n =0 ; +umr_grbm_select_index (asic, se, sh, cu);read_wave_status_via_mmio (asic, simd, wave, &buf[0 ], &n); +umr_grbm_select_index (asic,0xFFFFFFFF ,0xFFFFFFFF ,0xFFFFFFFF ); }if (buf[0 ] !=1 ) {
Signature · 6 lines
2.12.0 _______________________________________________ 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): [email protected]
Nicolai Hähnle
Reviewed-byReviewed-by Nicolai Hähnle <[email protected]>
Quoted 30 lines · Tom St Denis
Signed-off-by Tom St Denis <[email protected]>--- src/lib/wave_status.c | 4 ++++ 1 file changed, 4 insertions(+)src/lib/wave_status.c +4
-0@@ -116,7 +116,9 @@ static int umr_get_wave_status_vi(struct umr_asic *asic, unsigned se, unsigned sread (asic->fd.wave, &buf,32 *4 ); }else {int n =0 ; +umr_grbm_select_index (asic, se, sh, cu);read_wave_status_via_mmio (asic, simd, wave, &buf[0 ], &n); +umr_grbm_select_index (asic,0xFFFFFFFF ,0xFFFFFFFF ,0xFFFFFFFF ); }if (buf[0 ] !=0 ) {@@ -218,7 +220,9 @@ static int umr_get_wave_status_ai(struct umr_asic *asic, unsigned se, unsigned sread (asic->fd.wave, &buf,32 *4 ); }else {int n =0 ; +umr_grbm_select_index (asic, se, sh, cu);read_wave_status_via_mmio (asic, simd, wave, &buf[0 ], &n); +umr_grbm_select_index (asic,0xFFFFFFFF ,0xFFFFFFFF ,0xFFFFFFFF ); }if (buf[0 ] !=1 ) {
Signature · 6 lines
Lerne, wie die Welt wirklich ist, Aber vergiss niemals, wie sie sein sollte. _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx