intel_runtime_pm_get_if_in_use — grab a runtime pm reference if device in use
bool intel_runtime_pm_get_if_in_use ( | struct drm_i915_private * dev_priv) ; |
This function grabs a device-level runtime pm reference if the device is already in use and ensures that it is powered up.
Any runtime pm reference obtained by this function must have a symmetric
call to intel_runtime_pm_put
to release the reference again.