]> rtime.felk.cvut.cz Git - linux-imx.git/commit
drm/i915: turn on the power well before suspending
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 25 Jan 2013 18:59:15 +0000 (16:59 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 27 Jan 2013 23:26:10 +0000 (00:26 +0100)
commitcb10799c194369633b183262edc75ec4b3e4e346
treefe842c21269b4d731b8e82c3f3a5720631a84604
parentcc464b2a17c59adedbdc02cc54341d630354edc3
drm/i915: turn on the power well before suspending

Our suspend code touches a lot of registers all over the place, so we
need to enable the power well before suspending.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Fixup compilation by stealing the header decl from the
dynamic power wells patch.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c