vga_switcheroo_register_audio_client(9) register audio client

SYNOPSIS

int vga_switcheroo_register_audio_client(struct pci_dev * pdev, const struct vga_switcheroo_client_ops * ops, enum vga_switcheroo_client_id id);

ARGUMENTS

pdev

client pci device

ops

client callbacks

id

client identifier

DESCRIPTION

Register audio client (audio device on a GPU). The power state of the client is assumed to be ON.

RETURN

0 on success, -ENOMEM on memory allocation error.

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