]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/overlay: Switch to intel_frontbuffer_flip()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2025 18:54:00 +0000 (21:54 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Nov 2025 15:36:47 +0000 (17:36 +0200)
commitfcef1a9dcf1a79104c5688015d90fd9f9c195a93
treefc2913cfbaa296f58b6ecba309e5f4aea5180361
parent6d2ccd2f1c4ee50ffa4eb98e2b694c758a330225
drm/i915/overlay: Switch to intel_frontbuffer_flip()

Get rid of intel_frontbuffer_flip_{prepare,complete}() from
the overlay code and just use intel_frontbuffer_flip() instead.

The only difference between these are the light interactions
with the ORIGIN_CS busyness tracking, but since the only user
of this is the overlay/xf86-video-intel/Xv the buffer will
always be filled by the CPU and thus we'll never see any
ORIGIN_CS frontbuffer activity there anyway. Also I don't
think we actually have anything covered by the frontbuffer
tracking that affects the overlay (FBC is on the primary
plane, DRRS isn't currently enabled on the platforms with
overlay, and PSR doesn't exist in the hardware).

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