Commit e921bcbf authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: Don't try to disable psr harder from the work item

It's disabled already except when we've raced.
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 2807cf69
...@@ -1896,9 +1896,7 @@ static void intel_edp_psr_work(struct work_struct *work) ...@@ -1896,9 +1896,7 @@ static void intel_edp_psr_work(struct work_struct *work)
if (!intel_dp) if (!intel_dp)
return; return;
if (!intel_edp_psr_match_conditions(intel_dp)) if (intel_edp_psr_match_conditions(intel_dp))
intel_edp_psr_disable(intel_dp);
else
intel_edp_psr_do_enable(intel_dp); intel_edp_psr_do_enable(intel_dp);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment