forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/sound/hda/Kconfig
....@@ -1,8 +1,12 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 config SND_HDA_CORE
23 tristate
34 select REGMAP
45
56 config SND_HDA_DSP_LOADER
7
+ bool
8
+
9
+config SND_HDA_ALIGNED_MMIO
610 bool
711
812 config SND_HDA_COMPONENT
....@@ -19,12 +23,26 @@
1923 config SND_HDA_PREALLOC_SIZE
2024 int "Pre-allocated buffer size for HD-audio driver"
2125 range 0 32768
22
- default 64
26
+ default 2048 if SND_DMA_SGBUF
27
+ default 64 if !SND_DMA_SGBUF
2328 help
2429 Specifies the default pre-allocated buffer-size in kB for the
2530 HD-audio driver. A larger buffer (e.g. 2048) is preferred
2631 for systems using PulseAudio. The default 64 is chosen just
2732 for compatibility reasons.
33
+ On x86 systems, the default is 2048 as a reasonable value for
34
+ most of modern systems.
2835
2936 Note that the pre-allocation size can be changed dynamically
3037 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
38
+
39
+config SND_INTEL_NHLT
40
+ bool
41
+ # this config should be selected only for Intel ACPI platforms.
42
+ # A fallback is provided so that the code compiles in all cases.
43
+
44
+config 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.