[Intel-gfx] [PATCH 1/2] drm/i915: extract intel_display_power.h/c from intel_runtime_pm.h/c

Chris Wilson chris at chris-wilson.co.uk
Sat Jun 1 08:45:44 UTC 2019


Quoting Daniele Ceraolo Spurio (2019-05-31 23:24:08)
> 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 at chris-wilson.co.uk>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list