drm/i915: Move the IPS code to its own file
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 9 Feb 2022 11:35:23 +0000 (13:35 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 9 Feb 2022 19:51:25 +0000 (21:51 +0200)
commitf3b603de2ff41eb915d75163f7212bbf177950d1
tree2231d865f84a8578afc329029e62ceec7990d125
parent2feb6b0f06b1221b2841ca61b721b1d608bafa79
drm/i915: Move the IPS code to its own file

IPS is a pretty well isolated feature. Move the relevant code
to a separate file from polluting intel_display.c.

I stuck to the hsw_ips name since that's what the function were
already using, and also to avoid confusion with the ILK
"Intelligen Power Sharing"/intel_ips GPU turbo stuff.

And let's also do the s/dev_priv/i915/ rename while touching
most of the code.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209113526.7595-4-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/hsw_ips.c [new file with mode: 0644]
drivers/gpu/drm/i915/display/hsw_ips.h [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h