1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2e3d280fcSTakashi Iwaiconfig SND_HDA_CORE 3e3d280fcSTakashi Iwai tristate 44d75faa0STakashi Iwai select REGMAP 58f3f600bSTakashi Iwai 68f3f600bSTakashi Iwaiconfig SND_HDA_DSP_LOADER 78f3f600bSTakashi Iwai bool 898d8fc6cSMengdong Lin 919abfefdSTakashi Iwaiconfig SND_HDA_ALIGNED_MMIO 1019abfefdSTakashi Iwai bool 1119abfefdSTakashi Iwai 12a57942bfSTakashi Iwaiconfig SND_HDA_COMPONENT 13a57942bfSTakashi Iwai bool 14a57942bfSTakashi Iwai 1598d8fc6cSMengdong Linconfig SND_HDA_I915 1698d8fc6cSMengdong Lin bool 17a57942bfSTakashi Iwai select SND_HDA_COMPONENT 18dfe66a18SJeeja KP 19dfe66a18SJeeja KPconfig SND_HDA_EXT_CORE 20dfe66a18SJeeja KP tristate 21dfe66a18SJeeja KP select SND_HDA_CORE 22d39513f8SVinod Koul 23d39513f8SVinod Koulconfig SND_HDA_PREALLOC_SIZE 24*63e38d07STakashi Iwai int "Pre-allocated buffer size for HD-audio driver" 25d39513f8SVinod Koul range 0 32768 26f4b4bdf2SAmadeusz Sławiński default 0 if SND_DMA_SGBUF 27c31427d0STakashi Iwai default 64 if !SND_DMA_SGBUF 28d39513f8SVinod Koul help 29d39513f8SVinod Koul Specifies the default pre-allocated buffer-size in kB for the 30d39513f8SVinod Koul HD-audio driver. A larger buffer (e.g. 2048) is preferred 31d39513f8SVinod Koul for systems using PulseAudio. The default 64 is chosen just 32d39513f8SVinod Koul for compatibility reasons. 33*63e38d07STakashi Iwai On x86 systems, the default is zero as S/G allocation works 34*63e38d07STakashi Iwai and no preallocation is needed in most cases. 35d39513f8SVinod Koul 36d39513f8SVinod Koul Note that the pre-allocation size can be changed dynamically 37d39513f8SVinod Koul via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. 38303681f4SPierre-Louis Bossart 39303681f4SPierre-Louis Bossartconfig SND_INTEL_NHLT 4082d9d54aSJaroslav Kysela bool 41303681f4SPierre-Louis Bossart # this config should be selected only for Intel ACPI platforms. 42303681f4SPierre-Louis Bossart # A fallback is provided so that the code compiles in all cases. 4382d9d54aSJaroslav Kysela 4482d9d54aSJaroslav Kyselaconfig SND_INTEL_DSP_CONFIG 4582d9d54aSJaroslav Kysela tristate 4651bebf34SAmadeusz Sławiński select ACPI_NHLT if ACPI 4782d9d54aSJaroslav Kysela select SND_INTEL_NHLT if ACPI 4808c2a4bcSPierre-Louis Bossart select SND_INTEL_SOUNDWIRE_ACPI if ACPI 4982d9d54aSJaroslav Kysela # this config should be selected only for Intel DSP platforms. 5082d9d54aSJaroslav Kysela # A fallback is provided so that the code compiles in all cases. 515427c7d6SHans de Goede 5208c2a4bcSPierre-Louis Bossartconfig SND_INTEL_SOUNDWIRE_ACPI 5308c2a4bcSPierre-Louis Bossart tristate 5408c2a4bcSPierre-Louis Bossart 555427c7d6SHans de Goedeconfig SND_INTEL_BYT_PREFER_SOF 565427c7d6SHans de Goede bool "Prefer SOF driver over SST on BY/CHT platforms" 575427c7d6SHans de Goede depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL 585427c7d6SHans de Goede default n 595427c7d6SHans de Goede help 605427c7d6SHans de Goede The kernel has 2 drivers for the Low Power Engine audio-block on 615427c7d6SHans de Goede Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF 625427c7d6SHans de Goede driver. If both drivers are enabled then the kernel will default 635427c7d6SHans de Goede to using the old SST driver, unless told otherwise through the 645427c7d6SHans de Goede snd_intel_dspcfg.dsp_driver module-parameter. 655427c7d6SHans de Goede 665427c7d6SHans de Goede Set this option to Y to make the kernel default to the new SOF 675427c7d6SHans de Goede driver instead. 68