]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit526c70e2662ea44a253a99f2a69d458c60ff1f31
tree19c46e5153deef337f2be8e5c535ff5bf8021156
parenta386cb988593186b31edda9d914dff389cf7ff92
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