xref: /openbmc/linux/sound/hda/Kconfig (revision 6c33a6f4)
1# SPDX-License-Identifier: GPL-2.0-only
2config SND_HDA_CORE
3	tristate
4	select REGMAP
5
6config SND_HDA_DSP_LOADER
7	bool
8
9config SND_HDA_ALIGNED_MMIO
10	bool
11
12config SND_HDA_COMPONENT
13	bool
14
15config SND_HDA_I915
16	bool
17	select SND_HDA_COMPONENT
18
19config SND_HDA_EXT_CORE
20       tristate
21       select SND_HDA_CORE
22
23config SND_HDA_PREALLOC_SIZE
24	int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF
25	range 0 32768
26	default 0 if SND_DMA_SGBUF
27	default 64 if !SND_DMA_SGBUF
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.
33	  On x86 systems, the default is zero as we need no preallocation.
34
35	  Note that the pre-allocation size can be changed dynamically
36	  via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
37
38config SND_INTEL_NHLT
39	bool
40	# this config should be selected only for Intel ACPI platforms.
41	# A fallback is provided so that the code compiles in all cases.
42
43config SND_INTEL_DSP_CONFIG
44	tristate
45	select SND_INTEL_NHLT if ACPI
46	# this config should be selected only for Intel DSP platforms.
47	# A fallback is provided so that the code compiles in all cases.
48