intel_display_power_get(9) grab a power domain reference

SYNOPSIS

void intel_display_power_get(struct drm_i915_private * dev_priv, enum intel_display_power_domain domain);

ARGUMENTS

dev_priv

i915 device instance

domain

power domain to reference

DESCRIPTION

This function grabs a power domain reference for domain and ensures that the power domain and all its parents are powered up. Therefore users should only grab a reference to the innermost power domain they need.

Any power domain reference obtained by this function must have a symmetric call to intel_display_power_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