xref: /OK3568_Linux_fs/kernel/sound/hda/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunconfig SND_HDA_CORE
3*4882a593Smuzhiyun	tristate
4*4882a593Smuzhiyun	select REGMAP
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig SND_HDA_DSP_LOADER
7*4882a593Smuzhiyun	bool
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunconfig SND_HDA_ALIGNED_MMIO
10*4882a593Smuzhiyun	bool
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunconfig SND_HDA_COMPONENT
13*4882a593Smuzhiyun	bool
14*4882a593Smuzhiyun
15*4882a593Smuzhiyunconfig SND_HDA_I915
16*4882a593Smuzhiyun	bool
17*4882a593Smuzhiyun	select SND_HDA_COMPONENT
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig SND_HDA_EXT_CORE
20*4882a593Smuzhiyun       tristate
21*4882a593Smuzhiyun       select SND_HDA_CORE
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig SND_HDA_PREALLOC_SIZE
24*4882a593Smuzhiyun	int "Pre-allocated buffer size for HD-audio driver"
25*4882a593Smuzhiyun	range 0 32768
26*4882a593Smuzhiyun	default 2048 if SND_DMA_SGBUF
27*4882a593Smuzhiyun	default 64 if !SND_DMA_SGBUF
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  Specifies the default pre-allocated buffer-size in kB for the
30*4882a593Smuzhiyun	  HD-audio driver.  A larger buffer (e.g. 2048) is preferred
31*4882a593Smuzhiyun	  for systems using PulseAudio.  The default 64 is chosen just
32*4882a593Smuzhiyun	  for compatibility reasons.
33*4882a593Smuzhiyun	  On x86 systems, the default is 2048 as a reasonable value for
34*4882a593Smuzhiyun	  most of modern systems.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	  Note that the pre-allocation size can be changed dynamically
37*4882a593Smuzhiyun	  via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunconfig SND_INTEL_NHLT
40*4882a593Smuzhiyun	bool
41*4882a593Smuzhiyun	# this config should be selected only for Intel ACPI platforms.
42*4882a593Smuzhiyun	# A fallback is provided so that the code compiles in all cases.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunconfig SND_INTEL_DSP_CONFIG
45*4882a593Smuzhiyun	tristate
46*4882a593Smuzhiyun	select SND_INTEL_NHLT if ACPI
47*4882a593Smuzhiyun	# this config should be selected only for Intel DSP platforms.
48*4882a593Smuzhiyun	# A fallback is provided so that the code compiles in all cases.
49