Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Takashi Iwai | e3d280f | 2015-02-17 21:46:37 +0100 | [diff] [blame] | 2 | config SND_HDA_CORE |
| 3 | tristate |
Takashi Iwai | 4d75faa0 | 2015-02-25 14:42:38 +0100 | [diff] [blame] | 4 | select REGMAP |
Takashi Iwai | 8f3f600 | 2015-04-14 12:53:28 +0200 | [diff] [blame] | 5 | |
| 6 | config SND_HDA_DSP_LOADER |
| 7 | bool |
Mengdong Lin | 98d8fc6 | 2015-05-19 22:29:30 +0800 | [diff] [blame] | 8 | |
Takashi Iwai | 19abfef | 2019-08-07 20:32:08 +0200 | [diff] [blame] | 9 | config SND_HDA_ALIGNED_MMIO |
| 10 | bool |
| 11 | |
Takashi Iwai | a57942b | 2018-07-11 16:23:16 +0200 | [diff] [blame] | 12 | config SND_HDA_COMPONENT |
| 13 | bool |
| 14 | |
Mengdong Lin | 98d8fc6 | 2015-05-19 22:29:30 +0800 | [diff] [blame] | 15 | config SND_HDA_I915 |
| 16 | bool |
Takashi Iwai | a57942b | 2018-07-11 16:23:16 +0200 | [diff] [blame] | 17 | select SND_HDA_COMPONENT |
Jeeja KP | dfe66a1 | 2015-06-11 14:11:47 +0530 | [diff] [blame] | 18 | |
| 19 | config SND_HDA_EXT_CORE |
| 20 | tristate |
| 21 | select SND_HDA_CORE |
Vinod Koul | d39513f | 2015-06-16 21:00:22 +0530 | [diff] [blame] | 22 | |
| 23 | config SND_HDA_PREALLOC_SIZE |
Amadeusz Sławiński | f4b4bdf | 2021-03-18 17:06:18 +0100 | [diff] [blame] | 24 | int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF |
Vinod Koul | d39513f | 2015-06-16 21:00:22 +0530 | [diff] [blame] | 25 | range 0 32768 |
Amadeusz Sławiński | f4b4bdf | 2021-03-18 17:06:18 +0100 | [diff] [blame] | 26 | default 0 if SND_DMA_SGBUF |
Takashi Iwai | c31427d | 2020-01-20 13:44:23 +0100 | [diff] [blame] | 27 | default 64 if !SND_DMA_SGBUF |
Vinod Koul | d39513f | 2015-06-16 21:00:22 +0530 | [diff] [blame] | 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. |
Amadeusz Sławiński | f4b4bdf | 2021-03-18 17:06:18 +0100 | [diff] [blame] | 33 | On x86 systems, the default is zero as we need no preallocation. |
Vinod Koul | d39513f | 2015-06-16 21:00:22 +0530 | [diff] [blame] | 34 | |
| 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 Bossart | 303681f | 2019-07-29 10:51:48 -0500 | [diff] [blame] | 37 | |
| 38 | config SND_INTEL_NHLT |
Jaroslav Kysela | 82d9d54 | 2019-10-22 19:43:12 +0200 | [diff] [blame] | 39 | bool |
Pierre-Louis Bossart | 303681f | 2019-07-29 10:51:48 -0500 | [diff] [blame] | 40 | # this config should be selected only for Intel ACPI platforms. |
Jaroslav Kysela | 82d9d54 | 2019-10-22 19:43:12 +0200 | [diff] [blame] | 41 | # A fallback is provided so that the code compiles in all cases. |
| 42 | |
| 43 | config SND_INTEL_DSP_CONFIG |
| 44 | tristate |
| 45 | select SND_INTEL_NHLT if ACPI |
Pierre-Louis Bossart | 08c2a4b | 2021-03-01 18:31:24 -0600 | [diff] [blame] | 46 | select SND_INTEL_SOUNDWIRE_ACPI if ACPI |
Jaroslav Kysela | 82d9d54 | 2019-10-22 19:43:12 +0200 | [diff] [blame] | 47 | # 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 Goede | 5427c7d | 2021-02-08 14:59:19 +0100 | [diff] [blame] | 49 | |
Pierre-Louis Bossart | 08c2a4b | 2021-03-01 18:31:24 -0600 | [diff] [blame] | 50 | config SND_INTEL_SOUNDWIRE_ACPI |
| 51 | tristate |
| 52 | |
Hans de Goede | 5427c7d | 2021-02-08 14:59:19 +0100 | [diff] [blame] | 53 | config 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. |