drm/{i915,xe}: some BIOS FB takeover fixes
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest11 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | drm/i915: Disable the plane if initial plane config readout faileddrivers/ | +3 | 0 replies | |
| 2/11 | drm/i915/fbdev: Extract bios_fb_ok()drivers/ | +18 | 0 replies | |
| 3/11 | drm/i915: Throw away the BIOS fb if has the wrong depth/bppdrivers/ | +9 | 0 replies | |
| 4/11 | drm/i915: Use drm_dbg_kms() for initial FB debugsdrivers/ drivers/ | +8 | 0 replies | |
| 5/11 | drm/xe: Do the initial FB size alignment earlierdrivers/ | +4 | 0 replies | |
| 6/11 | drm/xe: Print a debug message if we have no stolen for the initial FBdrivers/ | +6 | 0 replies | |
| 7/11 | drm/xe: Abstract the initial FB PTE checks a bitdrivers/ | +14 | 0 replies | |
| 8/11 | drm/xe: Check the PTE local memory bit for initial FB in stolendrivers/ | +14 | 0 replies | |
| 9/11 | drm/xe: s/bar2/lmembar/drivers/ | +8 | 0 replies | |
| 10/11 | drm/i915: Fix BIOS FB memory region name debug printsdrivers/ | +3 | 0 replies | |
| 11/11 | drm/i915: Print the phys_base in addition to the dma_addr for the BIOS FBdrivers/ | +3 | 0 replies |
Reviews trailers per patch
7 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Jani Nikula |
|---|---|
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b |
| 4/11 | R-b |
| 5/11 | |
| 6/11 | R-b |
| 7/11 | R-b |
| 8/11 | |
| 9/11 | R-b |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/11] drm/{i915,xe}: some BIOS FB takeover fixes
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(-)
Signature · 1 line
2.53.0