Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* ACPI REV override for Dell XPS 13 9343
@ 2022-06-13 10:53 Cezary Rojewski
  2022-06-13 13:05 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 6+ messages in thread
From: Cezary Rojewski @ 2022-06-13 10:53 UTC (permalink / raw)
  To: Dominik Brodowski, Wysocki, Rafael J, Mark Brown
  Cc: Hans de Goede, alsa-devel@alsa-project.org, Pierre-Louis Bossart,
	Takashi Iwai

Hello,

It's been a while since catpt-driver [1] has been introduced to provide 
full support for Broadwell (BDW) machines with Intel DSP. For BDW, audio 
devices can make use of DSP only in I2S mode. In 2015 Rafael and Dominik 
provided quirk [2] for Dell XPS 13 9343. Given the description:

_For example, based on what ACPI exports as the supported revision, Dell 
XPS 13 (2015) configures its audio device to either work in HDA mode or 
in I2S mode, where the former is supposed to be used on Linux until the 
latter is fully supported (in the kernel as well as in user space)._

It's clear that such configuration was not fully supported back then. I 
believe now it is. Perhaps it is time to let the quirk in mention go? By 
that I mean just the relevant entry, not the ACPI_REV_OVERRIDE_POSSIBLE 
functionality as a whole.


[1]: 
https://lore.kernel.org/all/20200929141247.8058-1-cezary.rojewski@intel.com/
[2]: https://lore.kernel.org/alsa-devel/5115175.tbCl1JQVaV@vostro.rjw.lan/


Regards,
Czarek

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ACPI REV override for Dell XPS 13 9343
  2022-06-13 10:53 ACPI REV override for Dell XPS 13 9343 Cezary Rojewski
@ 2022-06-13 13:05 ` Pierre-Louis Bossart
  2022-06-14 16:26   ` Cezary Rojewski
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre-Louis Bossart @ 2022-06-13 13:05 UTC (permalink / raw)
  To: Cezary Rojewski, Dominik Brodowski, Wysocki, Rafael J, Mark Brown
  Cc: Hans de Goede, alsa-devel@alsa-project.org, Takashi Iwai



On 6/13/22 05:53, Cezary Rojewski wrote:
> Hello,
> 
> It's been a while since catpt-driver [1] has been introduced to provide
> full support for Broadwell (BDW) machines with Intel DSP. For BDW, audio
> devices can make use of DSP only in I2S mode. In 2015 Rafael and Dominik
> provided quirk [2] for Dell XPS 13 9343. Given the description:
> 
> _For example, based on what ACPI exports as the supported revision, Dell
> XPS 13 (2015) configures its audio device to either work in HDA mode or
> in I2S mode, where the former is supposed to be used on Linux until the
> latter is fully supported (in the kernel as well as in user space)._
> 
> It's clear that such configuration was not fully supported back then. I
> believe now it is. Perhaps it is time to let the quirk in mention go? By
> that I mean just the relevant entry, not the ACPI_REV_OVERRIDE_POSSIBLE
> functionality as a whole.

This should be a distribution or power-user decision to enable the I2S
version IMHO.

There is nothing new in terms of functionality with the I2S version, so
limited added-value that doesn't offset the added risk due to the
dependencies on mixer settings that may or may not be installed (UCM, etc).

If it ain't broke don't fix it.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ACPI REV override for Dell XPS 13 9343
  2022-06-13 13:05 ` Pierre-Louis Bossart
@ 2022-06-14 16:26   ` Cezary Rojewski
  2022-06-14 16:51     ` Pierre-Louis Bossart
  0 siblings, 1 reply; 6+ messages in thread
From: Cezary Rojewski @ 2022-06-14 16:26 UTC (permalink / raw)
  To: Pierre-Louis Bossart, Dominik Brodowski, Wysocki, Rafael J,
	Mark Brown
  Cc: Hans de Goede, alsa-devel@alsa-project.org, Takashi Iwai

On 2022-06-13 3:05 PM, Pierre-Louis Bossart wrote:
> On 6/13/22 05:53, Cezary Rojewski wrote:
>> Hello,
>>
>> It's been a while since catpt-driver [1] has been introduced to provide
>> full support for Broadwell (BDW) machines with Intel DSP. For BDW, audio
>> devices can make use of DSP only in I2S mode. In 2015 Rafael and Dominik
>> provided quirk [2] for Dell XPS 13 9343. Given the description:
>>
>> _For example, based on what ACPI exports as the supported revision, Dell
>> XPS 13 (2015) configures its audio device to either work in HDA mode or
>> in I2S mode, where the former is supposed to be used on Linux until the
>> latter is fully supported (in the kernel as well as in user space)._
>>
>> It's clear that such configuration was not fully supported back then. I
>> believe now it is. Perhaps it is time to let the quirk in mention go? By
>> that I mean just the relevant entry, not the ACPI_REV_OVERRIDE_POSSIBLE
>> functionality as a whole.
> 
> This should be a distribution or power-user decision to enable the I2S
> version IMHO.
> 
> There is nothing new in terms of functionality with the I2S version, so
> limited added-value that doesn't offset the added risk due to the
> dependencies on mixer settings that may or may not be installed (UCM, etc).
> 
> If it ain't broke don't fix it.


Not much of a fan of the last statement. I believe challenging status 
quo is the right thing to do. We do not want to bloat the kernel with 
unnecessary quirks.

The broadwell-rt286 UCM is part of alsa-ucm-conf repo for years now.


Regards,
Czarek

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ACPI REV override for Dell XPS 13 9343
  2022-06-14 16:26   ` Cezary Rojewski
@ 2022-06-14 16:51     ` Pierre-Louis Bossart
  2022-06-14 17:03       ` Mark Brown
  2022-06-15  8:29       ` Cezary Rojewski
  0 siblings, 2 replies; 6+ messages in thread
From: Pierre-Louis Bossart @ 2022-06-14 16:51 UTC (permalink / raw)
  To: Cezary Rojewski, Dominik Brodowski, Wysocki, Rafael J, Mark Brown
  Cc: Hans de Goede, alsa-devel@alsa-project.org, Takashi Iwai


>>> It's been a while since catpt-driver [1] has been introduced to provide
>>> full support for Broadwell (BDW) machines with Intel DSP. For BDW, audio
>>> devices can make use of DSP only in I2S mode. In 2015 Rafael and Dominik
>>> provided quirk [2] for Dell XPS 13 9343. Given the description:
>>>
>>> _For example, based on what ACPI exports as the supported revision, Dell
>>> XPS 13 (2015) configures its audio device to either work in HDA mode or
>>> in I2S mode, where the former is supposed to be used on Linux until the
>>> latter is fully supported (in the kernel as well as in user space)._
>>>
>>> It's clear that such configuration was not fully supported back then. I
>>> believe now it is. Perhaps it is time to let the quirk in mention go? By
>>> that I mean just the relevant entry, not the ACPI_REV_OVERRIDE_POSSIBLE
>>> functionality as a whole.
>>
>> This should be a distribution or power-user decision to enable the I2S
>> version IMHO.
>>
>> There is nothing new in terms of functionality with the I2S version, so
>> limited added-value that doesn't offset the added risk due to the
>> dependencies on mixer settings that may or may not be installed (UCM,
>> etc).
>>
>> If it ain't broke don't fix it.

to clarify: the HDaudio mode works just fine, there are currently zero
issues or missing functionality reported by users.

> Not much of a fan of the last statement. I believe challenging status
> quo is the right thing to do. We do not want to bloat the kernel with
> unnecessary quirks.
> 
> The broadwell-rt286 UCM is part of alsa-ucm-conf repo for years now.

The hardware supports two modes (HDaudio and DSP + I2S), the former has
been in use without any issues for years.

Even if you make DSP + I2S the default, you've got to leave HDaudio as a
fallback, so there would be no change at the kernel level.

It' very very hard to remove stuff, and in this case there is limited
evidence that distributions use the DSP + I2S mode. You could deprecate
the ACPI_OVERRIDE but you've got to leave time for distributions to switch.

Challenging the status quo is great, but let's keep downstream in mind,
shall we?

The only option we removed was Medfield several years ago, but we had
clear evidence that no one would be affected by such a change in the
upstream kernel.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ACPI REV override for Dell XPS 13 9343
  2022-06-14 16:51     ` Pierre-Louis Bossart
@ 2022-06-14 17:03       ` Mark Brown
  2022-06-15  8:29       ` Cezary Rojewski
  1 sibling, 0 replies; 6+ messages in thread
From: Mark Brown @ 2022-06-14 17:03 UTC (permalink / raw)
  To: Pierre-Louis Bossart
  Cc: Cezary Rojewski, Wysocki, Rafael J, alsa-devel@alsa-project.org,
	Dominik Brodowski, Takashi Iwai, Hans de Goede

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

On Tue, Jun 14, 2022 at 11:51:01AM -0500, Pierre-Louis Bossart wrote:

> It' very very hard to remove stuff, and in this case there is limited
> evidence that distributions use the DSP + I2S mode. You could deprecate
> the ACPI_OVERRIDE but you've got to leave time for distributions to switch.

At the time that quirk was done I don't think there was even DSP support
- it was just plain I2S AFAIR, no firmware loaded or at least only in
passthrough mode.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ACPI REV override for Dell XPS 13 9343
  2022-06-14 16:51     ` Pierre-Louis Bossart
  2022-06-14 17:03       ` Mark Brown
@ 2022-06-15  8:29       ` Cezary Rojewski
  1 sibling, 0 replies; 6+ messages in thread
From: Cezary Rojewski @ 2022-06-15  8:29 UTC (permalink / raw)
  To: Pierre-Louis Bossart, Dominik Brodowski, Wysocki, Rafael J,
	Mark Brown
  Cc: Hans de Goede, alsa-devel@alsa-project.org, Takashi Iwai

On 2022-06-14 6:51 PM, Pierre-Louis Bossart wrote:

>>> If it ain't broke don't fix it.
> 
> to clarify: the HDaudio mode works just fine, there are currently zero
> issues or missing functionality reported by users.
> 
>> Not much of a fan of the last statement. I believe challenging status
>> quo is the right thing to do. We do not want to bloat the kernel with
>> unnecessary quirks.
>>
>> The broadwell-rt286 UCM is part of alsa-ucm-conf repo for years now.
> 
> The hardware supports two modes (HDaudio and DSP + I2S), the former has
> been in use without any issues for years.
> 
> Even if you make DSP + I2S the default, you've got to leave HDaudio as a
> fallback, so there would be no change at the kernel level.
> 
> It' very very hard to remove stuff, and in this case there is limited
> evidence that distributions use the DSP + I2S mode. You could deprecate
> the ACPI_OVERRIDE but you've got to leave time for distributions to switch.
> 
> Challenging the status quo is great, but let's keep downstream in mind,
> shall we?
> 
> The only option we removed was Medfield several years ago, but we had
> clear evidence that no one would be affected by such a change in the
> upstream kernel.


If the entry has to stay for the fallback reasons, then it can't be just 
removed. And if so, regardless of the default it's going to be there - 
no point in providing a patch.

Thanks for the feedback!


Regards,
Czarek

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-15  8:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-13 10:53 ACPI REV override for Dell XPS 13 9343 Cezary Rojewski
2022-06-13 13:05 ` Pierre-Louis Bossart
2022-06-14 16:26   ` Cezary Rojewski
2022-06-14 16:51     ` Pierre-Louis Bossart
2022-06-14 17:03       ` Mark Brown
2022-06-15  8:29       ` Cezary Rojewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox