[PATCH umr] use correct MM hub for SDMA IB packets
Tom St Denis
tom.stdenis at amd.com
Mon Feb 5 19:09:52 UTC 2018
Signed-off-by: Tom St Denis <tom.stdenis at amd.com>
---
src/lib/ring_decode.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lib/ring_decode.c b/src/lib/ring_decode.c
index f87d43e077a2..b18948d26b5f 100644
--- a/src/lib/ring_decode.c
+++ b/src/lib/ring_decode.c
@@ -1331,6 +1331,8 @@ static void print_decode_sdma(struct umr_asic *asic, struct umr_ring_decoder *de
break;
case 4: // INDIRECT
decoder->sdma.next_ib_state.ib_vmid = (ib >> 16) & 0xF;
+ if (asic->family >= FAMILY_AI)
+ decoder->sdma.next_ib_state.ib_vmid |= UMR_MM_HUB;
printf(", VMID: %s%u%s", BLUE, decoder->sdma.next_ib_state.ib_vmid, RST);
decoder->sdma.n_words = 6;
break;
--
2.14.3
More information about the amd-gfx
mailing list