[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <877cwh7nm2.wl-tiwai@suse.de>
Date: Thu, 16 Feb 2023 14:20:53 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Orlando Chamberlain <orlandoch.dev@...il.com>
Cc: alsa-devel@...a-project.org, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, Evan Quan <evan.quan@....com>,
Alex Deucher <alexander.deucher@....com>,
linux-kernel@...r.kernel.org, Aditya Garg <gargaditya08@...e.com>,
Aun-Ali Zaidi <admin@...eit.net>,
Kerem Karabay <kekrby@...il.com>
Subject: Re: [PATCHv2] hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks
On Thu, 16 Feb 2023 11:34:51 +0100,
Orlando Chamberlain wrote:
>
> Commit 586bc4aab878 ("ALSA: hda/hdmi - fix vgaswitcheroo detection for
> AMD") caused only AMD gpu's with PX to have their audio component register
> with vga_switcheroo. This meant that Apple Macbooks with apple-gmux as the
> gpu switcher no longer had the audio client registering, so when the gpu is
> powered off by vga_switcheroo snd_hda_intel is unaware that it should have
> suspended the device:
>
> amdgpu: switched off
> snd_hda_intel 0000:03:00.1:
> Unable to change power state from D3hot to D0, device inaccessible
> snd_hda_intel 0000:03:00.1: CORB reset timeout#2, CORBRP = 65535
>
> To resolve this, we use apple_gmux_detect() and register a
> vga_switcheroo audio client when apple-gmux is detected.
>
> Fixes: 586bc4aab878 ("ALSA: hda/hdmi - fix vgaswitcheroo detection for AMD")
> Link: https://lore.kernel.org/all/20230210044826.9834-9-orlandoch.dev@gmail.com/
> Signed-off-by: Orlando Chamberlain <orlandoch.dev@...il.com>
> ---
> v1->v2: Use apple_gmux_detect(), split this patch out of the patch
> series
Thanks, applied now.
Takashi
Powered by blists - more mailing lists