]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/psr: Reject async flips when selective fetch is enabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 5 Nov 2025 17:10:15 +0000 (19:10 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 21 Nov 2025 16:17:59 +0000 (18:17 +0200)
commita5f0cc8e0cd4007370af6985cb152001310cf20c
treea4b4170249ed2689c14e9e61b0dec3adca227b55
parenta8c02fddc9cf7d778a7a838660a679d6d68b0608
drm/i915/psr: Reject async flips when selective fetch is enabled

The selective fetch code doesn't handle asycn flips correctly.
There is a nonsense check for async flips in
intel_psr2_sel_fetch_config_valid() but that only gets called
for modesets/fastsets and thus does nothing for async flips.

Currently intel_async_flip_check_hw() is very unhappy as the
selective fetch code pulls in planes that are not even async
flips capable.

Reject async flips when selective fetch is enabled, until
someone fixes this properly (ie. disable selective fetch while
async flips are being issued).

Cc: stable@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20251105171015.22234-1-ville.syrjala@linux.intel.com
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_psr.c