summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_pm.c
diff options
context:
space:
mode:
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>2019-05-31 15:24:08 -0700
committerChris Wilson <chris@chris-wilson.co.uk>2019-06-04 08:32:48 +0100
commit7645b19d9bdd13ef3e32ab3a040b017f9d71f911 (patch)
treebf40e5e6e59b17e9b9db6e74b1bed6411059bc7d /drivers/gpu/drm/i915/intel_pm.c
parent912348b64d091a53c6c25c2a5486bae966f8b379 (diff)
downloadlinux-7645b19d9bdd13ef3e32ab3a040b017f9d71f911.tar.gz
linux-7645b19d9bdd13ef3e32ab3a040b017f9d71f911.tar.bz2
linux-7645b19d9bdd13ef3e32ab3a040b017f9d71f911.zip
drm/i915: extract intel_display_power.h/c from intel_runtime_pm.h/c
Keep all the device-level PM management in intel_runtime_pm.h/c and move all the display specific bits into their own file. Also add the new header to Makefile.header-test. Apart from the giant code move, the only difference is with the intel_runtime_<get/put>_raw() functions, which are now exposed in the header. The _put() version is also not conditionally compiled anymore since it is ok to always pass the wakeref taken from the _get() to __intel_runtime_pm_put (it is -1 if tracking is disabled). Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Imre Deak <imre.deak@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20190531222409.9177-2-daniele.ceraolospurio@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions