intel_runtime_pm_get_if_in_use(9) grab a runtime pm reference if device in use

SYNOPSIS

bool intel_runtime_pm_get_if_in_use(struct drm_i915_private * dev_priv);

ARGUMENTS

dev_priv

i915 device instance

DESCRIPTION

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.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT