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