提交 e921bcbf 编写于 作者: D 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: NRodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 2807cf69
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册