mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08: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:
parent
2807cf69df
commit
e921bcbfba
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user