[SRU][Q][PATCH 1/2] drm/i915/psr: Check pause counter before continuing to PSR activation
AceLan Kao
acelan.kao at canonical.com
Fri Dec 26 06:19:14 UTC 2025
From: Jouni Högander <jouni.hogander at intel.com>
BugLink: https://bugs.launchpad.net/bugs/2130998
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 at intel.com>
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
Link: https://lore.kernel.org/r/20250815084534.1637030-4-jouni.hogander@intel.com
(cherry picked from commit 7c8c76272e1732c63aab760b0b656f00bdc67050)
Signed-off-by: Chia-Lin Kao (AceLan) <acelan.kao at canonical.com>
---
drivers/gpu/drm/i915/display/intel_psr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 85e9aad7ec507..9142a8bbcc058 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -3232,6 +3232,9 @@ static void intel_psr_work(struct work_struct *work)
if (READ_ONCE(intel_dp->psr.irq_aux_error))
intel_psr_handle_irq(intel_dp);
+ if (intel_dp->psr.pause_counter)
+ goto unlock;
+
/*
* We have to make sure PSR is ready for re-enable
* otherwise it keeps disabled until next full enable/disable cycle.
--
2.43.0
More information about the kernel-team
mailing list