Tidy up VI VMID 0 verbose VM decoding output.
PATCH 1/1 Tidy up VI VMID 0 verbose VM decoding output.
Signed-off-by Tom St Denis <[email protected]>
--- src/lib/read_vram.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
src/lib/read_vram.c +3 -3
@@ -371,12 +371,12 @@ static int umr_read_vram_vi(struct umr_asic *asic, uint32_t vmid, uint64_t addre pte_fields.system = (pte_entry >>1 ) &1 ; pte_fields.valid = pte_entry &1 ;if (asic->options.verbose) -fprintf (stderr,"[VERBOSE]: PTE=0x%016llx, VA=0x%010llx, PBA==0x%010llx, PTE.system=%d, PTE.valid=%d\n" , +fprintf (stderr,"[VERBOSE]: PTE=0x%016llx, VA=0x%010llx, PBA==0x%010llx, V=%d, S=%d\n" , (unsigned long long )pte_entry, (unsigned long long )address & ~0xFFFULL , (unsigned long long )pte_fields.page_base_addr, - (int )pte_fields.system, - (int )pte_fields.valid); + (int )pte_fields.valid, + (int )pte_fields.system);if (!pte_fields.valid)return -1 ;
Signature · 6 lines
2.12.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx