There are some bugs related to BIOS fb takeover, and some cleanups and fixes.
All the patches here were previously posted by Ville under a similar series
name,
but I've taken out 3 patches I want to rework, and my motivation for each patch:
"drm/i915: Introduce intel_bo_fbdev_bios_fb_ok()"
- It's clear that using stolen memory on integrated platforms with media gt
is causing issues, I will modify it to copy the entire framebuffer bo into
system memory on xe.
"drm/xe/ggtt: Decouple lmem/stolen physcial offset from GGTT offset"
- Intermingling of 2 different goals. There was a workaround in xe_bo.c
to avoid trampling over the previously reserved GGTT area, but a better
way to solve it is by reserving GGTT explicitly here, and allocating the
BO without the GGTT or map flags set initially.
"drm/xe: Use the correct stolen offset in initial FB readout"
- Depends on the previous changes to xe/ggtt
Ville Syrjälä (11):
drm/i915: Disable the plane if initial plane config readout failed
drm/i915/fbdev: Extract bios_fb_ok()
drm/i915: Throw away the BIOS fb if has the wrong depth/bpp
drm/i915: Use drm_dbg_kms() for initial FB debugs
drm/xe: Do the initial FB size alignment earlier
drm/xe: Print a debug message if we have no stolen for the initial FB
drm/xe: Abstract the initial FB PTE checks a bit
drm/xe: Check the PTE local memory bit for initial FB in stolen
drm/xe: s/bar2/lmembar/
drm/i915: Fix BIOS FB memory region name debug prints
drm/i915: Print the phys_base in addition to the dma_addr for the BIOS
FB
drivers/gpu/drm/i915/display/intel_fbdev.c | 35 ++++++++---
.../drm/i915/display/intel_initial_plane.c | 6 +-
drivers/gpu/drm/i915/i915_initial_plane.c | 12 ++--
drivers/gpu/drm/xe/display/xe_initial_plane.c | 58 ++++++++++++++-----
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 16 ++---
5 files changed, 87 insertions(+), 40 deletions(-)
--
2.53.0