drm/i915: add poweroff_late handler
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:26 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:20 +0000 (16:34 +0200)
commitda2bc1b9db3351addd293e5b82757efe1f77ed1d
tree19c46e5153deef337f2be8e5c535ff5bf8021156
parent5e365c391aeffe8b53d6952c28a68bd5fc856390
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 <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c