drm/i915: Print the phys_base in addition to the dma_addr for the BIOS FB

Print the dma_addr, phys_base and memory region name for the BIOS FB.
Should make it a bit easier to see whether everything looks correct or
not.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260511214122.8468-15-ville.syrjala@linux.intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
This commit is contained in:
Ville Syrjälä
2026-05-12 00:41:22 +03:00
committed by Maarten Lankhorst
parent 4a9d8c1386
commit 32fa83c255

View File

@@ -69,12 +69,12 @@ initial_plane_phys(struct drm_i915_private *i915,
return false;
}
drm_dbg_kms(&i915->drm, "Using dma_addr=%pa, based on initial plane programming\n",
&dma_addr);
*out_phys_base = dma_addr - mem->region.start;
*out_mem = mem;
drm_dbg_kms(&i915->drm, "Initial plane dma_addr=%pa phys_base=%pa mem=%s\n",
&dma_addr, out_phys_base, mem->name);
return true;
}