Commit 56b87e38 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Kamal Ap
Browse files

UPSTREAM: drm/xe/display: Add intel_plane_initial_vblank_wait



We're changing the driver to have no interrupts during early init for
Xe, so we poll the PIPE_FRMSTMSMP counter instead.

Interrupts cannot be enabled during FB readout because memirq's requires
an allocation. This would overwrite the FB we want to read out.

While it might be possible to also run do the same in i915 and run
it without interrupts, the platforms i915 supports had a less clear
distinction between display and graphics. For this reason I choose
only to touch Xe for now.

Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250121142850.4960-1-dev@lankhorst.se


Signed-off-by: default avatarMaarten Lankhorst <dev@lankhorst.se>
(cherry picked from commit cf29a866)

Bug: 432032023
Test: None
Change-Id: I36d0a6970dfaeecef7d7171a8d8b6bffe9dcf7dc
Signed-off-by: default avatarAp, Kamal <kamal.ap@intel.corp-partner.google.com>
parent 33c33bdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment