[PATCH 2/2] vga_switcheroo: Add the support for audio clients

Takashi Iwai tiwai at suse.de
Thu May 10 04:43:58 PDT 2012


At Thu, 10 May 2012 11:40:50 +0100,
Dave Airlie wrote:
> 
> On Thu, May 10, 2012 at 8:10 AM, Takashi Iwai <tiwai at suse.de> wrote:
> > Add the support for audio clients to VGA-switcheroo for handling the
> > HDMI audio controller together with VGA switching.  The id of the
> > audio controller should be given explicity at registration time unlike
> > the video controller.
> 
> The only question I really have is how you assign the audio ids.
> 
> Currently we mostly don't see > 1 HDMI audio on a GPU, but that
> should be changing with the latest ones.

There is one HDMI audio "controller" entry usually per graphics.
There are more than one codecs can be connected to the controller,
e.g. Nvidia has up to 8 codecs, but this is an issue inside HD-audio
driver, and irrelevant from VGA-switcheroo.


thanks,

Takashi


More information about the dri-devel mailing list