mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
drm/i915/psr: Do not activate disabled PSR on irq_aux_error
Currently intel_psr_work is continuing to activation of PSR which was just disabled when irq_aux_error == true. Fix this by skipping everything else than intel_psr_handle_irq in intel_psr_work when irq_aux_error == true. 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-3-jouni.hogander@intel.com
This commit is contained in:
parent
f9ad930c52
commit
73b60be7f6
|
|
@ -3211,8 +3211,10 @@ static void intel_psr_work(struct work_struct *work)
|
|||
if (!intel_dp->psr.enabled)
|
||||
goto unlock;
|
||||
|
||||
if (READ_ONCE(intel_dp->psr.irq_aux_error))
|
||||
if (READ_ONCE(intel_dp->psr.irq_aux_error)) {
|
||||
intel_psr_handle_irq(intel_dp);
|
||||
goto unlock;
|
||||
}
|
||||
|
||||
/*
|
||||
* We have to make sure PSR is ready for re-enable
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user