]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/{i915, xe}: move xe_display_flush_cleanup_work() to i915 display
authorJani Nikula <jani.nikula@intel.com>
Mon, 25 May 2026 11:05:53 +0000 (14:05 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 26 May 2026 22:07:19 +0000 (01:07 +0300)
commit6df932f162d74599b33705a77908674ea4c447ec
treee1ad27fcf93ef64d69d3c65e321eb4bd8d45a4e4
parent344bafe9e0d3258a20f5a9353024c78bd5f69dc5
drm/{i915, xe}: move xe_display_flush_cleanup_work() to i915 display

xe_display_flush_cleanup_work() is a bit of an oddball function in xe
display code. There shouldn't be anything this specific or xe
specific. While I'm not sure what the correct refactor for the function
should be, move it to shared display code for starters, next to the
eerily similar but slightly different intel_has_pending_fb_unpin() that
is only called from i915 core.

The main goal here is to unblock some refactors on
for_each_intel_crtc().

v2: Add FIXME comment (Ville)

Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260525110553.651208-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/xe/display/xe_display.c