Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da2bc1b

Browse files
ideakdanvet
authored andcommitted
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: Imre Deak <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
1 parent 5e365c3 commit da2bc1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/i915_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,7 @@ static const struct dev_pm_ops i915_pm_ops = {
15481548
.thaw_early = i915_pm_resume_early,
15491549
.thaw = i915_pm_resume,
15501550
.poweroff = i915_pm_suspend,
1551+
.poweroff_late = i915_pm_suspend_late,
15511552
.restore_early = i915_pm_resume_early,
15521553
.restore = i915_pm_resume,
15531554
.runtime_suspend = intel_runtime_suspend,

0 commit comments

Comments
 (0)