The logic was reversed when PRT support was added. Signed-off-by: Tom St Denis <tom.stdenis at amd.com> --- src/lib/read_vram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/read_vram.c b/src/lib/read_vram.c index b78d06194add..80f8e056258f 100644 --- a/src/lib/read_vram.c +++ b/src/lib/read_vram.c @@ -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) { -- 2.12.0