Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/i915/psr: Check pause counter before continuing to PSR activation

Currently intel_psr_work is re-activating PSR even when pause_counter > 0
which is incorrect. Fix this by checking pause_counter before re-activating
PSR.

Closes: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14822
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250815084534.1637030-4-jouni.hogander@intel.com

+3
+3
drivers/gpu/drm/i915/display/intel_psr.c
··· 3216 3216 goto unlock; 3217 3217 } 3218 3218 3219 + if (intel_dp->psr.pause_counter) 3220 + goto unlock; 3221 + 3219 3222 /* 3220 3223 * We have to make sure PSR is ready for re-enable 3221 3224 * otherwise it keeps disabled until next full enable/disable cycle.