ALSA: hda: intel-dsp-config: Add SND_INTEL_BYT_PREFER_SOF Kconfig option
[linux-2.6-block.git] / sound / hda / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
e3d280fc
TI
2config SND_HDA_CORE
3 tristate
4d75faa0 4 select REGMAP
8f3f600b
TI
5
6config SND_HDA_DSP_LOADER
7 bool
98d8fc6c 8
19abfefd
TI
9config SND_HDA_ALIGNED_MMIO
10 bool
11
a57942bf
TI
12config SND_HDA_COMPONENT
13 bool
14
98d8fc6c
ML
15config SND_HDA_I915
16 bool
a57942bf 17 select SND_HDA_COMPONENT
dfe66a18
JK
18
19config SND_HDA_EXT_CORE
20 tristate
21 select SND_HDA_CORE
d39513f8
VK
22
23config SND_HDA_PREALLOC_SIZE
f8e4ae10 24 int "Pre-allocated buffer size for HD-audio driver"
d39513f8 25 range 0 32768
f8e4ae10 26 default 2048 if SND_DMA_SGBUF
c31427d0 27 default 64 if !SND_DMA_SGBUF
d39513f8
VK
28 help
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.
f8e4ae10
TI
33 On x86 systems, the default is 2048 as a reasonable value for
34 most of modern systems.
d39513f8
VK
35
36 Note that the pre-allocation size can be changed dynamically
37 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
303681f4
PLB
38
39config SND_INTEL_NHLT
82d9d54a 40 bool
303681f4 41 # this config should be selected only for Intel ACPI platforms.
82d9d54a
JK
42 # A fallback is provided so that the code compiles in all cases.
43
44config SND_INTEL_DSP_CONFIG
45 tristate
46 select SND_INTEL_NHLT 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.
5427c7d6
HG
49
50config SND_INTEL_BYT_PREFER_SOF
51 bool "Prefer SOF driver over SST on BY/CHT platforms"
52 depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
53 default n
54 help
55 The kernel has 2 drivers for the Low Power Engine audio-block on
56 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
57 driver. If both drivers are enabled then the kernel will default
58 to using the old SST driver, unless told otherwise through the
59 snd_intel_dspcfg.dsp_driver module-parameter.
60
61 Set this option to Y to make the kernel default to the new SOF
62 driver instead.