vga_switcheroo_init_domain_pm_optimus_hdmi_audio(9) helper for driver power control

SYNOPSIS

int vga_switcheroo_init_domain_pm_optimus_hdmi_audio(struct device * dev, struct dev_pm_domain * domain);

ARGUMENTS

dev

audio client device

domain

power domain

DESCRIPTION

Helper for GPUs whose power state is controlled by the driver's runtime pm. When the audio device resumes, the GPU needs to be woken. This helper augments the audio device's resume function to do that.

RETURN

0 on success, -EINVAL if no power management operations are defined for this device.

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