Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Kai Heng Feng
On Mar 10, 2018, at 2:50 PM, Lukas Wunner wrote: On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote: On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Kai Heng Feng
On Mar 10, 2018, at 2:50 PM, Lukas Wunner wrote: On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote: On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Mario.Limonciello
dead.org; ti...@suse.com; platform-driver-...@vger.kernel.org; Linux > Kernel Mailing List <linux-kernel@vger.kernel.org>; > alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphics > >

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Mario.Limonciello
..@vger.kernel.org; Linux > Kernel Mailing List ; > alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphics > > > > > On Mar 12, 2018, at 9:30 AM, mario.limoncie...@dell

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Kai Heng Feng
On Mar 12, 2018, at 9:30 AM, mario.limoncie...@dell.com wrote: I think the missing aspect is that this is only used in AIO and laptop form factors where the discrete graphics is in a non-removable form factor. Why we are not checking if kernel is running on AIO or laptop form factor

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-13 Thread Kai Heng Feng
On Mar 12, 2018, at 9:30 AM, mario.limoncie...@dell.com wrote: I think the missing aspect is that this is only used in AIO and laptop form factors where the discrete graphics is in a non-removable form factor. Why we are not checking if kernel is running on AIO or laptop form factor

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
> > I think the missing aspect is that this is only used in AIO and laptop form > > factors where the discrete graphics is in a non-removable form factor. > > Why we are not checking if kernel is running on AIO or laptop form > factor then? Or it is not possible? Kai Heng, can you please confirm

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
> > I think the missing aspect is that this is only used in AIO and laptop form > > factors where the discrete graphics is in a non-removable form factor. > > Why we are not checking if kernel is running on AIO or laptop form > factor then? Or it is not possible? Kai Heng, can you please confirm

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Pali Rohár
.@alsa-project.org > > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > > Dell > > platforms with Switchable Graphics > > > > On Friday 09 March 2018 09:59:39 mario.limoncie...@dell.com wrote: > > > > > Pali is your concer

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Pali Rohár
8 PM > > To: Limonciello, Mario > > Cc: kai.heng.f...@canonical.com; mj...@srcf.ucam.org; dvh...@infradead.org; > > a...@infradead.org; ti...@suse.com; platform-driver-...@vger.kernel.org; > > linux- > > ker...@vger.kernel.org; alsa-de...@alsa-project.org > >

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
radead.org; Limonciello, Mario > <mario_limoncie...@dell.com>; ti...@suse.com; platform-driver- > x...@vger.kernel.org; Linux Kernel Mailing List > <linux-kernel@vger.kernel.org>; alsa- > de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio co

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
platform-driver- > x...@vger.kernel.org; Linux Kernel Mailing List > ; alsa- > de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphics > > On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
g.f...@canonical.com; mj...@srcf.ucam.org; dvh...@infradead.org; > a...@infradead.org; ti...@suse.com; platform-driver-...@vger.kernel.org; > linux- > ker...@vger.kernel.org; alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > De

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-11 Thread Mario.Limonciello
srcf.ucam.org; dvh...@infradead.org; > a...@infradead.org; ti...@suse.com; platform-driver-...@vger.kernel.org; > linux- > ker...@vger.kernel.org; alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphic

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-10 Thread Pali Rohár
On Saturday 10 March 2018 07:50:39 Lukas Wunner wrote: > Pretty much all modern Nvidia GPUs do have an integrated HDA > controller, however it's possible to hide it by clearing a bit > at offset 0x488 in the GPU's config space. Some BIOSes hide > the HDA if no external display is attached. > > I

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-10 Thread Pali Rohár
On Saturday 10 March 2018 07:50:39 Lukas Wunner wrote: > Pretty much all modern Nvidia GPUs do have an integrated HDA > controller, however it's possible to hide it by clearing a bit > at offset 0x488 in the GPU's config space. Some BIOSes hide > the HDA if no external display is attached. > > I

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-10 Thread Pali Rohár
On Friday 09 March 2018 09:59:39 mario.limoncie...@dell.com wrote: > > > Pali is your concern that this code for matching vendor/subsystem is > > > running > > > on non-Dell too? The only other recommendation I think that can be to > > > restrict > > > to matching Dell OEM strings in SMBIOS

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-10 Thread Pali Rohár
On Friday 09 March 2018 09:59:39 mario.limoncie...@dell.com wrote: > > > Pali is your concern that this code for matching vendor/subsystem is > > > running > > > on non-Dell too? The only other recommendation I think that can be to > > > restrict > > > to matching Dell OEM strings in SMBIOS

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Lukas Wunner
On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote: > >On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: > >>Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > >>"Switchable Graphics" (SG). > >> > >>When SG is enabled, we have: > >>00:02.0 VGA compatible

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Lukas Wunner
On Fri, Mar 09, 2018 at 05:30:15PM +0800, Kai Heng Feng wrote: > >On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: > >>Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > >>"Switchable Graphics" (SG). > >> > >>When SG is enabled, we have: > >>00:02.0 VGA compatible

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Mario.Limonciello
> > Pali is your concern that this code for matching vendor/subsystem is running > > on non-Dell too? The only other recommendation I think that can be to > > restrict > > to matching Dell OEM strings in SMBIOS table, but I don't think that's any > > better > > than the matching for VID/SSVID.

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Mario.Limonciello
> > Pali is your concern that this code for matching vendor/subsystem is running > > on non-Dell too? The only other recommendation I think that can be to > > restrict > > to matching Dell OEM strings in SMBIOS table, but I don't think that's any > > better > > than the matching for VID/SSVID.

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Pali Rohár
@srcf.ucam.org; dvh...@infradead.org; a...@infradead.org; > > Limonciello, Mario <mario_limoncie...@dell.com>; ti...@suse.com; platform- > > driver-...@vger.kernel.org; Linux Kernel Mailing List > ker...@vger.kernel.org>; alsa-de...@alsa-project.org > > Subject: Re: [PATCH

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Pali Rohár
radead.org; a...@infradead.org; > > Limonciello, Mario ; ti...@suse.com; platform- > > driver-...@vger.kernel.org; Linux Kernel Mailing List > ker...@vger.kernel.org>; alsa-de...@alsa-project.org > > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controlle

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Mario.Limonciello
o_limoncie...@dell.com>; ti...@suse.com; platform- > driver-...@vger.kernel.org; Linux Kernel Mailing List ker...@vger.kernel.org>; alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphics >

RE: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Mario.Limonciello
ger.kernel.org; Linux Kernel Mailing List ker...@vger.kernel.org>; alsa-de...@alsa-project.org > Subject: Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for > Dell > platforms with Switchable Graphics > > > > On Mar 9, 2018, at 5:02 PM, Pali Rohár wrote: &

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Kai Heng Feng
On Mar 9, 2018, at 5:02 PM, Pali Rohár wrote: On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller:

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Kai Heng Feng
On Mar 9, 2018, at 5:02 PM, Pali Rohár wrote: On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller: Intel Corporation Device

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Pali Rohár
On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: > Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > "Switchable Graphics" (SG). > > When SG is enabled, we have: > 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) > 00:1f.3 Audio device: Intel

Re: [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Pali Rohár
On Thursday 08 March 2018 17:10:23 Kai-Heng Feng wrote: > Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > "Switchable Graphics" (SG). > > When SG is enabled, we have: > 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) > 00:1f.3 Audio device: Intel

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Kai Heng Feng
On Mar 8, 2018, at 7:30 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 06:38:45PM +0800, Kai Heng Feng wrote: On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: Some Dell platforms (Preicsion

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-09 Thread Kai Heng Feng
On Mar 8, 2018, at 7:30 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 06:38:45PM +0800, Kai Heng Feng wrote: On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Lukas Wunner
On Thu, Mar 08, 2018 at 06:38:45PM +0800, Kai Heng Feng wrote: > >On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: > >On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: > >>Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > >>"Switchable Graphics"

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Lukas Wunner
On Thu, Mar 08, 2018 at 06:38:45PM +0800, Kai Heng Feng wrote: > >On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: > >On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: > >>Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > >>"Switchable Graphics" (SG). > >> >

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Kai Heng Feng
On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller:

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Kai Heng Feng
On Mar 8, 2018, at 5:38 PM, Lukas Wunner wrote: On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller: Intel

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Lukas Wunner
On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: > Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > "Switchable Graphics" (SG). > > When SG is enabled, we have: > 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) > 00:1f.3 Audio

Re: [alsa-devel] [PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Lukas Wunner
On Thu, Mar 08, 2018 at 05:10:23PM +0800, Kai-Heng Feng wrote: > Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option > "Switchable Graphics" (SG). > > When SG is enabled, we have: > 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) > 00:1f.3 Audio

[PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Kai-Heng Feng
Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) 00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) 01:00.0 VGA

[PATCH v2 3/3] ALSA: hda: Disabled unused audio controller for Dell platforms with Switchable Graphics

2018-03-08 Thread Kai-Heng Feng
Some Dell platforms (Preicsion 7510/7710/7520/7720) have a BIOS option "Switchable Graphics" (SG). When SG is enabled, we have: 00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04) 00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) 01:00.0 VGA