]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/overlay: Track current frontbuffer_bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Feb 2026 10:07:21 +0000 (12:07 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Feb 2026 08:40:39 +0000 (10:40 +0200)
commit12cdd837b43bee31f4d0b6c4efc2ae06c93de64d
treec6f42d0db657c338d56ddd2eb50e07d1049f8804
parentc778db2887f35f77f9e747f4a35285b6b563e5d8
drm/i915/overlay: Track current frontbuffer_bits

Store the current frontbuffer_bits in the overlay data. The
main benefit here is that we get rid of the 'crtc->pipe'
usage from intel_overlay_flip_prepare() which will have to
move to the i915 side of the parent vs. display driver split.

And since the goal is to get rid of the crtc stuff, move those
out from intel_overlay_off_tail() into intel_overlay_switch_off()
since the i915 side doesn't use those anymore, and the display
side doesn't need those anymore after that anyway.
intel_overlay_off_tail() will itself move to the i915 side of
the fence once the driver split is done.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260226100738.29997-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_overlay.c