vga_switcheroo_set_dynamic_switch(9) helper for driver power control

SYNOPSIS

void vga_switcheroo_set_dynamic_switch(struct pci_dev * pdev, enum vga_switcheroo_state dynamic);

ARGUMENTS

pdev

client pci device

dynamic

new power state

DESCRIPTION

Helper for GPUs whose power state is controlled by the driver's runtime pm. When the driver decides to power up or down, it notifies vga_switcheroo thereof using this helper so that it can (a) power the audio device on the GPU up or down, and (b) update its internal power state representation for the 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