1 # SPDX-License-Identifier: GPL-2.0-only
6 config SND_HDA_DSP_LOADER
9 config SND_HDA_ALIGNED_MMIO
12 config SND_HDA_COMPONENT
17 select SND_HDA_COMPONENT
19 config SND_HDA_EXT_CORE
23 config SND_HDA_PREALLOC_SIZE
24 int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF
26 default 0 if SND_DMA_SGBUF
27 default 64 if !SND_DMA_SGBUF
29 Specifies the default pre-allocated buffer-size in kB for the
30 HD-audio driver. A larger buffer (e.g. 2048) is preferred
31 for systems using PulseAudio. The default 64 is chosen just
32 for compatibility reasons.
33 On x86 systems, the default is zero as we need no preallocation.
35 Note that the pre-allocation size can be changed dynamically
36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
40 # this config should be selected only for Intel ACPI platforms.
41 # A fallback is provided so that the code compiles in all cases.
43 config SND_INTEL_DSP_CONFIG
45 select SND_INTEL_NHLT if ACPI
46 select SND_INTEL_SOUNDWIRE_ACPI if ACPI
47 # this config should be selected only for Intel DSP platforms.
48 # A fallback is provided so that the code compiles in all cases.
50 config SND_INTEL_SOUNDWIRE_ACPI
53 config SND_INTEL_BYT_PREFER_SOF
54 bool "Prefer SOF driver over SST on BY/CHT platforms"
55 depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
58 The kernel has 2 drivers for the Low Power Engine audio-block on
59 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
60 driver. If both drivers are enabled then the kernel will default
61 to using the old SST driver, unless told otherwise through the
62 snd_intel_dspcfg.dsp_driver module-parameter.
64 Set this option to Y to make the kernel default to the new SOF