Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/14] drm/{i915,xe}: BIOS FB takeover fixes
@ 2026-05-11 21:41 Ville Syrjala
  2026-05-11 21:41 ` [PATCH 01/14] drm/i915: Disable the plane if initial plane config readout failed Ville Syrjala
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: Ville Syrjala @ 2026-05-11 21:41 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Try to fix the BIOS FB readout to actually work on xe+integrated GPUs.
It's still semi-crap due to the xe ggtt code being stupid, but at 
least it kinda works now.

I've also included some generic BIOS FB stuff that applies to both
i915 and xe, and I fixed a few minor issues in the i915 specific parts
as well.

Ville Syrjälä (14):
  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: Introduce intel_bo_fbdev_bios_fb_ok()
  drm/i915: Use drm_dbg_kms() for initial FB debugs
  drm/xe: Do the initial FB size alignment earlier
  drm/xe/ggtt: Decouple lmem/stolen physcial offset from GGTT offset
  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/xe: Use the correct stolen offset in initial FB readout
  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_bo.c       |  5 +
 drivers/gpu/drm/i915/display/intel_bo.h       |  1 +
 drivers/gpu/drm/i915/display/intel_fbdev.c    | 40 ++++++--
 .../drm/i915/display/intel_initial_plane.c    |  6 +-
 drivers/gpu/drm/i915/i915_bo.c                | 13 ++-
 drivers/gpu/drm/i915/i915_bo.h                |  6 --
 drivers/gpu/drm/i915/i915_initial_plane.c     | 26 ++----
 drivers/gpu/drm/xe/display/xe_display_bo.c    | 14 ++-
 drivers/gpu/drm/xe/display/xe_display_bo.h    |  6 --
 drivers/gpu/drm/xe/display/xe_fb_pin.c        |  6 +-
 drivers/gpu/drm/xe/display/xe_initial_plane.c | 93 +++++++++++++------
 drivers/gpu/drm/xe/xe_bo.c                    | 56 +++++++----
 drivers/gpu/drm/xe/xe_bo.h                    |  4 +-
 drivers/gpu/drm/xe/xe_eu_stall.c              |  3 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c        | 16 ++--
 include/drm/intel/display_parent_interface.h  |  1 +
 16 files changed, 191 insertions(+), 105 deletions(-)

-- 
2.52.0


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2026-05-12 10:49 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 21:41 [PATCH 00/14] drm/{i915,xe}: BIOS FB takeover fixes Ville Syrjala
2026-05-11 21:41 ` [PATCH 01/14] drm/i915: Disable the plane if initial plane config readout failed Ville Syrjala
2026-05-12 10:25   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 02/14] drm/i915/fbdev: Extract bios_fb_ok() Ville Syrjala
2026-05-12 10:29   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 03/14] drm/i915: Throw away the BIOS fb if has the wrong depth/bpp Ville Syrjala
2026-05-12 10:33   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 04/14] drm/i915: Introduce intel_bo_fbdev_bios_fb_ok() Ville Syrjala
2026-05-11 21:41 ` [PATCH 05/14] drm/i915: Use drm_dbg_kms() for initial FB debugs Ville Syrjala
2026-05-12 10:40   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 06/14] drm/xe: Do the initial FB size alignment earlier Ville Syrjala
2026-05-11 21:41 ` [PATCH 07/14] drm/xe/ggtt: Decouple lmem/stolen physcial offset from GGTT offset Ville Syrjala
2026-05-11 21:41 ` [PATCH 08/14] drm/xe: Print a debug message if we have no stolen for the initial FB Ville Syrjala
2026-05-12 10:45   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 09/14] drm/xe: Abstract the initial FB PTE checks a bit Ville Syrjala
2026-05-12 10:48   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 10/14] drm/xe: Check the PTE local memory bit for initial FB in stolen Ville Syrjala
2026-05-11 21:41 ` [PATCH 11/14] drm/xe: s/bar2/lmembar/ Ville Syrjala
2026-05-12 10:49   ` Jani Nikula
2026-05-11 21:41 ` [PATCH 12/14] drm/xe: Use the correct stolen offset in initial FB readout Ville Syrjala
2026-05-11 21:41 ` [PATCH 13/14] drm/i915: Fix BIOS FB memory region name debug prints Ville Syrjala
2026-05-11 21:41 ` [PATCH 14/14] drm/i915: Print the phys_base in addition to the dma_addr for the BIOS FB Ville Syrjala
2026-05-11 22:27 ` ✓ i915.CI.BAT: success for drm/{i915,xe}: BIOS FB takeover fixes Patchwork
2026-05-12  7:02 ` ✓ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox