From: Lukas Wunner <lukas@wunner.de>
To: Hui Wang <hui.wang@canonical.com>
Cc: Alex Deucher <alexander.deucher@amd.com>,
alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org
Subject: Re: [alsa-devel] [V2 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function
Date: Mon, 16 Jul 2018 16:16:10 +0200 [thread overview]
Message-ID: <20180716141610.GA19679@wunner.de> (raw)
In-Reply-To: <5212bc55-1aeb-cb7e-2527-45cc4b483861@canonical.com>
On Mon, Jul 16, 2018 at 03:52:45PM +0800, Hui Wang wrote:
> On 2018???07???16??? 14:06, Jim Qu wrote:
> >On modern laptop, there are more and more platforms
> >have two GPUs, and each of them maybe have audio codec
> >for HDMP/DP output. For some dGPU which is no output,
> >audio codec usually is disabled.
> >
> >In currect HDA audio driver, it will set all codec as
> >VGA_SWITCHEROO_DIS, the audio which is binded to UMA
> >will be suspended if user use debugfs to control power
> >
> >In HDA driver side, it is difficult to know which GPU
> >the audio has bound to. So set the bound gpu pci dev
> >to vgaswitchreoo, the correct audio id will be set in
> >vgaswitchreoo enable function.
> >
> >Signed-off-by: Jim Qu <Jim.Qu@amd.com>
>
> Is it possible to send this patch to <stable@vger.kernel.org> as well, then
> we will know that it is safe to backport this patch to the linux kernels
> with different version.
For which hardware do you want it in stable kernels?
This patch pertains to manual power control, which is only used on the
MacBook Pro by default. And there are no MacBook Pros with AMD APUs.
On all other hardware, users have to specify "amdgpu.runpm=0" on the
command line to see any benefit from this patch. Also, manual power
control will likely be removed once we get runtime PM working with
muxed systems (such as the MacBook Pro).
Lukas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-07-16 14:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-16 6:06 [V2 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY to replace PCI_CLASS_DISPLAY_VGA Jim Qu
[not found] ` <1531721195-4982-1-git-send-email-Jim.Qu-5C7GfCeVMHo@public.gmane.org>
2018-07-16 6:06 ` [V2 2/2] vgaswitchreoo: set audio client id in vgaswitchreoo enable function Jim Qu
2018-07-16 7:52 ` Hui Wang
2018-07-16 14:16 ` Lukas Wunner [this message]
2018-07-16 15:09 ` [alsa-devel] " jimqu
2018-07-16 12:53 ` Takashi Iwai
2018-07-16 14:43 ` Lukas Wunner
2018-07-16 14:47 ` [alsa-devel] " Takashi Iwai
[not found] ` <s5hmuur44r4.wl-tiwai-l3A5Bk7waGM@public.gmane.org>
2018-07-16 14:51 ` Lukas Wunner
2018-07-16 12:52 ` [V2 1/2] ALSA: HDA: use PCI_BASE_CLASS_DISPLAY to replace PCI_CLASS_DISPLAY_VGA Takashi Iwai
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=20180716141610.GA19679@wunner.de \
--to=lukas@wunner.de \
--cc=alexander.deucher@amd.com \
--cc=alsa-devel@alsa-project.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hui.wang@canonical.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.