[PATCH 3/3] drm/i915/psr: Check pause counter before continuing to PSR activation
Jouni Högander
jouni.hogander at intel.com
Fri Aug 15 08:45:34 UTC 2025
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>
---
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 3930d28e3486..c6715dd44418 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -3214,6 +3214,9 @@ static void intel_psr_work(struct work_struct *work)
goto unlock;
}
+ 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 Intel-xe
mailing list