blob: 741179ccbd4e4a732e79b3da418bc9f040664049 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Takashi Iwaie3d280f2015-02-17 21:46:37 +01002config SND_HDA_CORE
3 tristate
Takashi Iwai4d75faa02015-02-25 14:42:38 +01004 select REGMAP
Takashi Iwai8f3f6002015-04-14 12:53:28 +02005
6config SND_HDA_DSP_LOADER
7 bool
Mengdong Lin98d8fc62015-05-19 22:29:30 +08008
Takashi Iwai19abfef2019-08-07 20:32:08 +02009config SND_HDA_ALIGNED_MMIO
10 bool
11
Takashi Iwaia57942b2018-07-11 16:23:16 +020012config SND_HDA_COMPONENT
13 bool
14
Mengdong Lin98d8fc62015-05-19 22:29:30 +080015config SND_HDA_I915
16 bool
Takashi Iwaia57942b2018-07-11 16:23:16 +020017 select SND_HDA_COMPONENT
Jeeja KPdfe66a12015-06-11 14:11:47 +053018
19config SND_HDA_EXT_CORE
20 tristate
21 select SND_HDA_CORE
Vinod Kould39513f2015-06-16 21:00:22 +053022
23config SND_HDA_PREALLOC_SIZE
Amadeusz Sławińskif4b4bdf2021-03-18 17:06:18 +010024 int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF
Vinod Kould39513f2015-06-16 21:00:22 +053025 range 0 32768
Amadeusz Sławińskif4b4bdf2021-03-18 17:06:18 +010026 default 0 if SND_DMA_SGBUF
Takashi Iwaic31427d2020-01-20 13:44:23 +010027 default 64 if !SND_DMA_SGBUF
Vinod Kould39513f2015-06-16 21:00:22 +053028 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.
Amadeusz Sławińskif4b4bdf2021-03-18 17:06:18 +010033 On x86 systems, the default is zero as we need no preallocation.
Vinod Kould39513f2015-06-16 21:00:22 +053034
35 Note that the pre-allocation size can be changed dynamically
36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
Pierre-Louis Bossart303681f2019-07-29 10:51:48 -050037
38config SND_INTEL_NHLT
Jaroslav Kysela82d9d542019-10-22 19:43:12 +020039 bool
Pierre-Louis Bossart303681f2019-07-29 10:51:48 -050040 # this config should be selected only for Intel ACPI platforms.
Jaroslav Kysela82d9d542019-10-22 19:43:12 +020041 # A fallback is provided so that the code compiles in all cases.
42
43config SND_INTEL_DSP_CONFIG
44 tristate
45 select SND_INTEL_NHLT if ACPI
Pierre-Louis Bossart08c2a4b2021-03-01 18:31:24 -060046 select SND_INTEL_SOUNDWIRE_ACPI if ACPI
Jaroslav Kysela82d9d542019-10-22 19:43:12 +020047 # this config should be selected only for Intel DSP platforms.
48 # A fallback is provided so that the code compiles in all cases.
Hans de Goede5427c7d2021-02-08 14:59:19 +010049
Pierre-Louis Bossart08c2a4b2021-03-01 18:31:24 -060050config SND_INTEL_SOUNDWIRE_ACPI
51 tristate
52
Hans de Goede5427c7d2021-02-08 14:59:19 +010053config SND_INTEL_BYT_PREFER_SOF
54 bool "Prefer SOF driver over SST on BY/CHT platforms"
55 depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
56 default n
57 help
58 The kernel has 2 drivers for the Low Power Engine audio-block on
59 Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
60 driver. If both drivers are enabled then the kernel will default
61 to using the old SST driver, unless told otherwise through the
62 snd_intel_dspcfg.dsp_driver module-parameter.
63
64 Set this option to Y to make the kernel default to the new SOF
65 driver instead.