drm/i915: extract __hsw_do_{en, dis}able_package_c8
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 7 Mar 2014 23:08:04 +0000 (20:08 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Mar 2014 15:36:57 +0000 (16:36 +0100)
commitb4d2a9a09361ade9409584748b0fc2be6bbb05a0
tree9da377a812819c0dca0aa4e8d38e8ea8b2a30e70
parentb80d6c781e7eb16e24c2a04a88ab6b230bcbbb35
drm/i915: extract __hsw_do_{en, dis}able_package_c8

When we merge PC8 and runtime PM, these new functions are going to be
called by the runtime suspend/resume functions, and their callers are
going to be removed.

v2: - Rebase

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