]> git.baikalelectronics.ru Git - kernel.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)
commit1d2d227b84f9b783b2d7587cc114b4baa5864fb1
tree376407fd0cd8496c50bde23bf55c6036764e470e
parentde3c89b98a4e7e1e3626e2552143e0a2e5862c99
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