Skip to contentSkip to conversation

use correct MM hub for SDMA IB packets

PATCH New Tom St Denis 1 participant 1 message Feb 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 use correct MM hub for SDMA IB packets

---
 src/lib/ring_decode.c | 2 ++
 1 file changed, 2 insertions(+)
src/lib/ring_decode.c +2 -0
index f87d43e077a2..b18948d26b5f 100644
@@ -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;
Signature · 6 lines
2.14.3

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