From: Pierre-Louis Bossart Subject: Re: [PATCH v7 7/7] ASoC: Intel: Skylake: add option to control HDAudio + DSP usage Date: Wed, 22 Aug 2018 11:50:26 -0500 Message-ID: <89be602c-6da5-6508-00ea-adae7db93598@linux.intel.com> References: <20180817203723.32305-1-pierre-louis.bossart@linux.intel.com> <20180817203723.32305-8-pierre-louis.bossart@linux.intel.com> <2916ad16-9168-584e-56f5-16403cee0b2f@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by alsa0.perex.cz (Postfix) with ESMTP id 95D14267663 for ; Wed, 22 Aug 2018 18:50:28 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: liam.r.girdwood@linux.intel.com, alsa-devel@alsa-project.org, broonie@kernel.org, vkoul@kernel.org List-Id: alsa-devel@alsa-project.org On 8/22/18 10:46 AM, Takashi Iwai wrote: > On Wed, 22 Aug 2018 17:36:44 +0200, > Pierre-Louis Bossart wrote: >> >> On 8/22/18 3:03 AM, Takashi Iwai wrote: >>> On Fri, 17 Aug 2018 22:37:23 +0200, >>> Pierre-Louis Bossart wrote: >>>> >>>> Add option to explicitly enable HDAudio + DSP usage. >>>> >>>> Signed-off-by: Pierre-Louis Bossart >>>> --- >>>> sound/soc/intel/Kconfig | 9 +++++++++ >>>> sound/soc/intel/skylake/skl.c | 8 ++++++++ >>>> 2 files changed, 17 insertions(+) >>>> >>>> diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig >>>> index 0caa1f4eb94d..3ee6a407eb08 100644 >>>> --- a/sound/soc/intel/Kconfig >>>> +++ b/sound/soc/intel/Kconfig >>>> @@ -117,6 +117,15 @@ config SND_SOC_INTEL_SKYLAKE >>>> GeminiLake or CannonLake platform with the DSP enabled in the BIOS >>>> then enable this option by saying Y or m. >>>> +config SND_SOC_INTEL_SKYLAKE_HDA_DSP >>>> + bool "Enable HDAudio Codec + DSP support" >>>> + depends on SND_SOC_INTEL_SKYLAKE >>>> + help >>>> + If you have a Intel Skylake+ platform with the DSP enabled in >>>> + the BIOS and an HDAudio codec, then enable this option by saying Y >>>> + This option will only have an effect if there are no ACPI-enumerated >>>> + audio devices (I2C, SoundWire). >>> >>> As mentioned in the previous patchset, this kind of control should be >>> better provided as a module option. If this influences on the module >>> dependency, it'd make sense to do as Kconfig. But this doesn't look >>> so, and it's rather a sort of runtime control to match with the >>> deployed hardware configuration. >> >> In the previous patch set, there were two Kconfigs. One of them was >> for debug, but I removed it since it wasn't such a good idea. This one >> is more static and can be enabled by default by a distro. It's not >> intended to be changed at runtime. I just wanted to leave it out for >> now to make sure there is no change to existing platforms. I can >> remove it if you feel it's unnecessary. > > I belive this is superfluous, then. Alright, it's gone then. Will send an update later today. Thanks for the reviews!