[PATCH 3/3] drm/i915/psr: Check pause counter before continuing to PSR activation
Kahola, Mika
mika.kahola at intel.com
Wed Aug 20 10:21:52 UTC 2025
> -----Original Message-----
> From: Intel-xe <intel-xe-bounces at lists.freedesktop.org> On Behalf Of Jouni Högander
> Sent: Friday, 15 August 2025 11.46
> To: intel-gfx at lists.freedesktop.org; intel-xe at lists.freedesktop.org
> Cc: Hogander, Jouni <jouni.hogander at intel.com>
> Subject: [PATCH 3/3] 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
Reviewed-by: Mika Kahola <mika.kahola at intel.com>
> 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