vga_switcheroo_process_delayed_switch(9) helper for delayed switching

SYNOPSIS

int vga_switcheroo_process_delayed_switch(void);

ARGUMENTS

void

no arguments

MANUAL SWITCHING AND MANUAL POWER CONTROL

Process a delayed switch if one is pending. DRM drivers should call this from their ->lastclose callback.

RETURN

0 on success. -EINVAL if no delayed switch is pending, if the client has unregistered in the meantime or if there are other clients blocking the switch. If the actual switch fails, an error is reported and 0 is returned.

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