OSDN Git Service

ASoC: SOF: Intel: make DMI L1 selection more robust
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Aug 2021 23:19:40 +0000 (18:19 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 13 Aug 2021 12:16:16 +0000 (13:16 +0100)
commit246dd4287dfbaaddc1511c744893621814618bc8
treeebce905ec6497c0ca4a45125cf1aa5ed733e07a1
parent5503e938fef3f66240670d28f7d5db7f2dc8f35a
ASoC: SOF: Intel: make DMI L1 selection more robust

Exposing the DMI L1 configuration as a kernel Kconfig option was in
hindsight a really bad idea. It led to several errors reported by
distributions which selected it by mistake.

The Kconfig is now replaced with a kernel parameter. Since DMI L1
entry is incompatible with pause on a capture stream, the latter is
disabled when the kernel parameter is set.

Experimental results show an increased residency in higher C states
and a significant decrease of system power consumption for "work from
home" usages such as VoIP calls.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210812231940.172547-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/Kconfig
sound/soc/sof/intel/hda-pcm.c