Merge tag 'drm/tegra/for-5.13-rc1' of ssh://git.freedesktop.org/git/tegra/linux into...
[linux-2.6-microblaze.git] / sound / hda / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config SND_HDA_CORE
3         tristate
4         select REGMAP
5
6 config SND_HDA_DSP_LOADER
7         bool
8
9 config SND_HDA_ALIGNED_MMIO
10         bool
11
12 config SND_HDA_COMPONENT
13         bool
14
15 config SND_HDA_I915
16         bool
17         select SND_HDA_COMPONENT
18
19 config SND_HDA_EXT_CORE
20        tristate
21        select SND_HDA_CORE
22
23 config SND_HDA_PREALLOC_SIZE
24         int "Pre-allocated buffer size for HD-audio driver"
25         range 0 32768
26         default 2048 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 2048 as a reasonable value for
34           most of modern systems.
35
36           Note that the pre-allocation size can be changed dynamically
37           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         select SND_INTEL_SOUNDWIRE_ACPI if ACPI
48         # this config should be selected only for Intel DSP platforms.
49         # A fallback is provided so that the code compiles in all cases.
50
51 config SND_INTEL_SOUNDWIRE_ACPI
52         tristate
53
54 config SND_INTEL_BYT_PREFER_SOF
55         bool "Prefer SOF driver over SST on BY/CHT platforms"
56         depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
57         default n
58         help
59           The kernel has 2 drivers for the Low Power Engine audio-block on
60           Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
61           driver. If both drivers are enabled then the kernel will default
62           to using the old SST driver, unless told otherwise through the
63           snd_intel_dspcfg.dsp_driver module-parameter.
64
65           Set this option to Y to make the kernel default to the new SOF
66           driver instead.