From: Takashi Iwai <tiwai@suse.de>
To: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/2] Audio client support for VGA-switcheroo
Date: Thu, 10 May 2012 09:18:13 +0200 [thread overview]
Message-ID: <s5h1umswll6.wl%tiwai@suse.de> (raw)
In-Reply-To: <s5h7gwkwm15.wl%tiwai@suse.de>
At Thu, 10 May 2012 09:08:38 +0200,
Takashi Iwai wrote:
>
> Dave,
>
> this is a small patch series to add the support for audio clients
> to VGA switcheroo. The background problem is that the HD-audio HDMI
> controller of the discrete GPU is also disabled when the graphics core
> is disabled by vga-switcheroo. This leads to a long stall of the
> audio driver, or at worst, it Oopses.
> https://bugzilla.kernel.org/show_bug.cgi?id=43155
>
> I tried to work around it only in the audio driver side, but it
> doesn't seem to help. When the graphics is disabled, the whole PCI
> entry can't be accessed any longer. Even reading a config triggers an
> Oops. So, the only option is to implement the VGA switcheroo client
> for the audio.
>
> The first patch refactors the vga-switcheroo code to be ready to
> accept for more than two clients. It's mostly a clean up using linked
> lists. The next patch implements the audio client registration.
>
> BTW, if these patches are OK, the question remains how to merge.
> Obviously I'd need more patches for HD-audio driver based on the new
> vga_switcheroo_register_audio_client(). One option is to apply these
> patches to a persistent branch (i.e. no rebase planned) of your tree
> and pull it to my tree with more patches for HD-audio.
> Does it sound good for you?
Or, if you prefer, just pull from topic/vga-switcheroo branch of my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/vga-switcheroo
Takashi
prev parent reply other threads:[~2012-05-10 7:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-10 7:08 [PATCH 0/2] Audio client support for VGA-switcheroo Takashi Iwai
2012-05-10 7:09 ` [PATCH 1/2] vga_switcheroo: Refactor using linked list Takashi Iwai
2012-05-10 7:10 ` [PATCH 2/2] vga_switcheroo: Add the support for audio clients Takashi Iwai
2012-05-10 8:23 ` Paul Menzel
2012-05-10 8:44 ` Takashi Iwai
2012-05-10 10:40 ` Dave Airlie
2012-05-10 11:43 ` Takashi Iwai
2012-05-10 11:20 ` Alan Cox
2012-05-10 11:42 ` Takashi Iwai
2012-05-10 18:42 ` Takashi Iwai
2012-05-10 19:05 ` Dave Airlie
2012-05-10 19:26 ` Takashi Iwai
2012-05-10 7:18 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5h1umswll6.wl%tiwai@suse.de \
--to=tiwai@suse.de \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox