drm/i915: Move the hsw/bdw pc8 code to intel_runtime_pm.c
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 May 2019 19:31:43 +0000 (22:31 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 6 May 2019 14:53:28 +0000 (17:53 +0300)
commit46034d2bb7c8d809e261bde6e2d7b73273a0ff36
tree246d1b3e6f7ee1d87720926a9643d56d0143d931
parent8f91cfd2e7ff7714887ab7bbb0319268e8c92bcf
drm/i915: Move the hsw/bdw pc8 code to intel_runtime_pm.c

hsw_enable_pc8()/hsw_disable_pc8() are more less equivalent to
the display core init/unit functions of later platforms. Relocate
the hsw/bdw code into intel_runtime_pm.c so that it sits next to
its cousins.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190503193143.28240-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_display.h
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c
drivers/gpu/drm/i915/intel_runtime_pm.h