- int vga_switcheroo_unlock_ddc(struct pci_dev * pdev);
- client pci device
Switch DDC lines back to the previous owner after calling vga_switcheroo_lock_ddc. This must be called even if vga_switcheroo_lock_ddc returned an error.
Previous DDC owner on success (i.e. the client identifier of pdev) or a negative int on error. Specifically, -ENODEV if no handler has registered or if the handler does not support switching the DDC lines. Also, a negative value returned by the handler is propagated back to the caller. Finally, invoking this function without calling vga_switcheroo_lock_ddc first is not allowed and will result in -EINVAL.
Jesse Barnes <[email protected]>
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation