Skip to content
Snippets Groups Projects
Commit da2bc1b9 authored by Imre Deak's avatar Imre Deak Committed by Daniel Vetter
Browse files

drm/i915: add poweroff_late handler


The suspend_late handler saves some registers and powers off the device,
so it doesn't have a big overhead. Calling it at S4 poweroff_late time
makes the power off handling identical to the S3 suspend and S4 freeze
handling, so do this for consistency.

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 5e365c39
No related branches found
No related tags found
No related merge requests found
...@@ -1548,6 +1548,7 @@ static const struct dev_pm_ops i915_pm_ops = { ...@@ -1548,6 +1548,7 @@ static const struct dev_pm_ops i915_pm_ops = {
.thaw_early = i915_pm_resume_early, .thaw_early = i915_pm_resume_early,
.thaw = i915_pm_resume, .thaw = i915_pm_resume,
.poweroff = i915_pm_suspend, .poweroff = i915_pm_suspend,
.poweroff_late = i915_pm_suspend_late,
.restore_early = i915_pm_resume_early, .restore_early = i915_pm_resume_early,
.restore = i915_pm_resume, .restore = i915_pm_resume,
.runtime_suspend = intel_runtime_suspend, .runtime_suspend = intel_runtime_suspend,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment