Fix access_vram bug introduced by f105ce1f5c54f3e371f1572292f87cfa9b116b33
PATCH 1/1 Fix access_vram bug introduced by f105ce1f5c54f3e371f1572292f87cfa9b116b33
The logic was reversed when PRT support was added.
Signed-off-by Tom St Denis <[email protected]>
--- src/lib/read_vram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/read_vram.c +1 -1
@@ -632,7 +632,7 @@ pde_is_pte: (unsigned long long)start_addr, (unsigned long)chunk_size);// allow destination to be NULL to simply use decoder -if (!pte_fields.valid) { +if (pte_fields.valid) {if (pdst) {if (pte_fields.system) {if (umr_access_sram (start_addr, chunk_size, pdst, write_en) <0 ) {
Signature · 6 lines
2.12.0 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx