]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: HSW: allow PCH clock gating for suspend
authorImre Deak <imre.deak@intel.com>
Wed, 17 Apr 2013 11:04:50 +0000 (14:04 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:35 +0000 (21:56 +0200)
commitabd161c06613b5fe56f2aa9d88773e9d0ca76a6f
treece5a29a139c6e6c1c0c2d3e156ba3f8f48800baf
parenta87658058ef4fc0a9a148c7cb10c3382e2161fe3
drm/i915: HSW: allow PCH clock gating for suspend

For the device to enter D3 we should enable PCH clock gating.

v2:
- use HAS_PCH_LPT instead of IS_HASWELL (Ville, Paolo)
- rename lpt_allow_clock_gating to lpt_suspend_hw (Paolo)

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c