Improve and fix VM decoding
PATCH 1/1 Improve and fix VM decoding
We now filter the output nicely to not repeat PDE entries unncessarily. The VA mask was also fixed for AI platforms.
Signed-off-by Tom St Denis <[email protected]>
--- src/app/main.c | 6 +-- src/lib/read_vram.c | 128 +++++++++++++++++++++++++++++++--------------------- 2 files changed, 77 insertions(+), 57 deletions(-)
src/app/main.c +1 -5
@@ -374,11 +374,7 @@ int main(int argc, char **argv)if (options.hub_name[0 ]) vmid |=UMR_USER_HUB ; -while (size--) { -if (umr_read_vram (asic, vmid, address,0 ,NULL )) -break ; - address +=0x1000 ; - } +umr_read_vram (asic, vmid, address,0x1000UL * size,NULL ); i +=2 ; asic->options.verbose = overbose;
src/lib/read_vram.c +76 -52
277 lines not on this page · raw message
Signature · 6 lines
2.12.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx