mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 06:53:30 -04:00
drm/i915: Don't try to disable psr harder from the work item
It's disabled already except when we've raced. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -1896,9 +1896,7 @@ static void intel_edp_psr_work(struct work_struct *work)
|
||||
if (!intel_dp)
|
||||
return;
|
||||
|
||||
if (!intel_edp_psr_match_conditions(intel_dp))
|
||||
intel_edp_psr_disable(intel_dp);
|
||||
else
|
||||
if (intel_edp_psr_match_conditions(intel_dp))
|
||||
intel_edp_psr_do_enable(intel_dp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user