This patch series is the second revision 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. Thank you for the feedback on the previous revision. This new patch series was created with that feedback in mind. That revision was too rough of an implementation that had a considerable amount of useless code and fixed problems that it unecessarily introduced. Because of that, I completely reworked and rewrote the solution into a much smaller, efficient version that properly makes use of the existing infrastructure. This patch series has two specific focal points. It enables Xe to properly adopt a framebuffer from bios by fixing how we read stolen memory and it synchronizes an inherited crtc state with the new state so that we can perform an initial commit. This allows us to achieve seamless handoff between the firmware and kernel with minimal changes required. --- Changes since v1 - Complete rewrite of the code Juasheem Sultan (2): drm/xe/display: Fix reading the framebuffer from stolen memory drm/i915/display: Synchronize crtc_state for initial commit drivers/gpu/drm/i915/display/intel_display.c | 19 ++++++++++++++++ drivers/gpu/drm/xe/display/xe_plane_initial.c | 22 ++++++++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) -- 2.52.0.457.g6b5491de43-goog
