Name
vga_switcheroo_process_delayed_switch —
helper for delayed switching
Synopsis
int vga_switcheroo_process_delayed_switch ( | void) ; |
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.