Skip to content

Enable seamless boot (fastboot) for PTL

Juasheem Sultan intel-gfx intel-xe 4 versions – In review

Get series with b4
b4 am [email protected] change-id 20260115-upstream-prep-b29156970a75

Versions newest first · linked by author and title

  1. v4 Latest2 patches 8 repliesIn review
  2. v3 RFC2 patches 9 repliesSuperseded
  3. v2 RFC0 of 2 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC10 patches1 replySuperseded

Changes since v1 from the cover letter

- v2 Complete rewrite of the code
- v3 Resending due to failure of patches to send
- v4 Switched from complete state copy to clock sanitization

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe/display: Fix reading the framebuffer from stolen memorydrivers/gpu/drm/xe/display/xe_initial_plane.c+21 -11 reply
2/2drm/i915/display: Sync state to BIOS for seamless handoffdrivers/gpu/drm/i915/display/intel_display.c+67 -07 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/2] Enable seamless boot (fastboot) for PTL

This is the fourth version of a series of patches meant to add support for seamless framebuffer handoff within the Xe driver. It was tested on Panther Lake platforms.

The goal of this series is to achieve a flicker-free transition from the bootloader (BIOS/UEFI) to the kernel driver by strictly adhering to the hardware state established by the firmware.

With this version, I've taken the feedback that the last version was doing too broad of a copy of the hardware crtc state into the new atomic state. Rather than that, we are now instead sanitizing the clock values and pll state.

The BIOS appears to set a slightly different clock than the ideal value calculated by the driver. If these are within a small tolerance of each other then we adopt the BIOS clock values.

The pll state that the driver reads has bytes 4 to 8 programmed to 0 in non-ssc registers. The state read from the hardware doesn't have this, so we adopt the hardware state if they match without those bytes.

---
Changes since v1
- v2 Complete rewrite of the code
- v3 Resending due to failure of patches to send
- v4 Switched from complete state copy to clock sanitization

Juasheem Sultan (2):
drm/xe/display: Fix reading the framebuffer from stolen memory drm/i915/display: Sync state to BIOS for seamless handoff

 drivers/gpu/drm/i915/display/intel_display.c  | 67 +++++++++++++++++++
 drivers/gpu/drm/xe/display/xe_initial_plane.c | 22 +++++-
 2 files changed, 88 insertions(+), 1 deletion(-)
Signature · 1 line
2.53.0.851.ga537e3e6e9-goog