18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ciconfig SND_HDA_CORE 38c2ecf20Sopenharmony_ci tristate 48c2ecf20Sopenharmony_ci select REGMAP 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciconfig SND_HDA_DSP_LOADER 78c2ecf20Sopenharmony_ci bool 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ciconfig SND_HDA_ALIGNED_MMIO 108c2ecf20Sopenharmony_ci bool 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciconfig SND_HDA_COMPONENT 138c2ecf20Sopenharmony_ci bool 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciconfig SND_HDA_I915 168c2ecf20Sopenharmony_ci bool 178c2ecf20Sopenharmony_ci select SND_HDA_COMPONENT 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciconfig SND_HDA_EXT_CORE 208c2ecf20Sopenharmony_ci tristate 218c2ecf20Sopenharmony_ci select SND_HDA_CORE 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ciconfig SND_HDA_PREALLOC_SIZE 248c2ecf20Sopenharmony_ci int "Pre-allocated buffer size for HD-audio driver" 258c2ecf20Sopenharmony_ci range 0 32768 268c2ecf20Sopenharmony_ci default 2048 if SND_DMA_SGBUF 278c2ecf20Sopenharmony_ci default 64 if !SND_DMA_SGBUF 288c2ecf20Sopenharmony_ci help 298c2ecf20Sopenharmony_ci Specifies the default pre-allocated buffer-size in kB for the 308c2ecf20Sopenharmony_ci HD-audio driver. A larger buffer (e.g. 2048) is preferred 318c2ecf20Sopenharmony_ci for systems using PulseAudio. The default 64 is chosen just 328c2ecf20Sopenharmony_ci for compatibility reasons. 338c2ecf20Sopenharmony_ci On x86 systems, the default is 2048 as a reasonable value for 348c2ecf20Sopenharmony_ci most of modern systems. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci Note that the pre-allocation size can be changed dynamically 378c2ecf20Sopenharmony_ci via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too. 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ciconfig SND_INTEL_NHLT 408c2ecf20Sopenharmony_ci bool 418c2ecf20Sopenharmony_ci # this config should be selected only for Intel ACPI platforms. 428c2ecf20Sopenharmony_ci # A fallback is provided so that the code compiles in all cases. 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ciconfig SND_INTEL_DSP_CONFIG 458c2ecf20Sopenharmony_ci tristate 468c2ecf20Sopenharmony_ci select SND_INTEL_NHLT if ACPI 478c2ecf20Sopenharmony_ci # this config should be selected only for Intel DSP platforms. 488c2ecf20Sopenharmony_ci # A fallback is provided so that the code compiles in all cases. 49