]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: disable/re-enable PCI device around S4 freeze/thaw
authorImre Deak <imre.deak@intel.com>
Thu, 23 Oct 2014 16:23:23 +0000 (19:23 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:19 +0000 (16:34 +0200)
commitf2476ae65e6159b41168bc41c630e9fbb1d72dde
tree376407fd0cd8496c50bde23bf55c6036764e470e
parentee6f280e7895c838d90e8ef19ba737c8003ae85d
drm/i915: disable/re-enable PCI device around S4 freeze/thaw

We already disable everything during S4 freeze, except the PCI device
itself. There is no reason why we couldn't disable that too and doing
so allows us to unify these handlers in the next patch with the
corresponding S3 suspend/resume handlers.

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