mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 08:44:23 +07:00
595fe1b702
So far, CONFIG_SND_HDA_CODEC_* kconfigs have been booleans due to historical reasons. The major reason was that the automatic codec driver probing wouldn't work if user sets a codec driver as a module while the controller driver as a built-in. And, another reason was to avoid exporting symbols of the helper codes when all drivers are built in. But, this sort of "kindness" rather confuses people in the end, especially makes the config refinement via localmodconfig unhappy. Also, a codec module would still work if you re-bind the controller driver via sysfs (although it's no automatic loading), so there might be a slight use case. That said, better to let people fallen into a pitfall than being too smart and restrict something. Let's make things straightforward: now all CONFIG_SND_HDA_CODEC_* become tristate, and all symbols exported unconditionally. Signed-off-by: Takashi Iwai <tiwai@suse.de>
196 lines
5.9 KiB
Plaintext
196 lines
5.9 KiB
Plaintext
menuconfig SND_HDA_INTEL
|
|
tristate "Intel HD Audio"
|
|
select SND_PCM
|
|
select SND_VMASTER
|
|
select SND_KCTL_JACK
|
|
help
|
|
Say Y here to include support for Intel "High Definition
|
|
Audio" (Azalia) and its compatible devices.
|
|
|
|
This option enables the HD-audio controller. Don't forget
|
|
to choose the appropriate codec options below.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called snd-hda-intel.
|
|
|
|
if SND_HDA_INTEL
|
|
|
|
config SND_HDA_DSP_LOADER
|
|
bool
|
|
|
|
config SND_HDA_PREALLOC_SIZE
|
|
int "Pre-allocated buffer size for HD-audio driver"
|
|
range 0 32768
|
|
default 64
|
|
help
|
|
Specifies the default pre-allocated buffer-size in kB for the
|
|
HD-audio driver. A larger buffer (e.g. 2048) is preferred
|
|
for systems using PulseAudio. The default 64 is chosen just
|
|
for compatibility reasons.
|
|
|
|
Note that the pre-allocation size can be changed dynamically
|
|
via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|
|
|
|
config SND_HDA_HWDEP
|
|
bool "Build hwdep interface for HD-audio driver"
|
|
select SND_HWDEP
|
|
help
|
|
Say Y here to build a hwdep interface for HD-audio driver.
|
|
This interface can be used for out-of-band communication
|
|
with codecs for debugging purposes.
|
|
|
|
config SND_HDA_RECONFIG
|
|
bool "Allow dynamic codec reconfiguration"
|
|
depends on SND_HDA_HWDEP
|
|
help
|
|
Say Y here to enable the HD-audio codec re-configuration feature.
|
|
This adds the sysfs interfaces to allow user to clear the whole
|
|
codec configuration, change the codec setup, add extra verbs,
|
|
and re-configure the codec dynamically.
|
|
|
|
config SND_HDA_INPUT_BEEP
|
|
bool "Support digital beep via input layer"
|
|
depends on INPUT=y || INPUT=SND_HDA_INTEL
|
|
help
|
|
Say Y here to build a digital beep interface for HD-audio
|
|
driver. This interface is used to generate digital beeps.
|
|
|
|
config SND_HDA_INPUT_BEEP_MODE
|
|
int "Digital beep registration mode (0=off, 1=on)"
|
|
depends on SND_HDA_INPUT_BEEP=y
|
|
default "1"
|
|
range 0 1
|
|
help
|
|
Set 0 to disable the digital beep interface for HD-audio by default.
|
|
Set 1 to always enable the digital beep interface for HD-audio by
|
|
default.
|
|
|
|
config SND_HDA_INPUT_JACK
|
|
bool "Support jack plugging notification via input layer"
|
|
depends on INPUT=y || INPUT=SND
|
|
select SND_JACK
|
|
help
|
|
Say Y here to enable the jack plugging notification via
|
|
input layer.
|
|
|
|
config SND_HDA_PATCH_LOADER
|
|
bool "Support initialization patch loading for HD-audio"
|
|
select FW_LOADER
|
|
select SND_HDA_HWDEP
|
|
select SND_HDA_RECONFIG
|
|
help
|
|
Say Y here to allow the HD-audio driver to load a pseudo
|
|
firmware file ("patch") for overriding the BIOS setup at
|
|
start up. The "patch" file can be specified via patch module
|
|
option, such as patch=hda-init.
|
|
|
|
This option turns on hwdep and reconfig features automatically.
|
|
|
|
config SND_HDA_CODEC_REALTEK
|
|
tristate "Build Realtek HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include Realtek HD-audio codec support in
|
|
snd-hda-intel driver, such as ALC880.
|
|
|
|
config SND_HDA_CODEC_ANALOG
|
|
tristate "Build Analog Device HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include Analog Device HD-audio codec support in
|
|
snd-hda-intel driver, such as AD1986A.
|
|
|
|
config SND_HDA_CODEC_SIGMATEL
|
|
tristate "Build IDT/Sigmatel HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include IDT (Sigmatel) HD-audio codec support in
|
|
snd-hda-intel driver, such as STAC9200.
|
|
|
|
config SND_HDA_CODEC_VIA
|
|
tristate "Build VIA HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include VIA HD-audio codec support in
|
|
snd-hda-intel driver, such as VT1708.
|
|
|
|
config SND_HDA_CODEC_HDMI
|
|
tristate "Build HDMI/DisplayPort HD-audio codec support"
|
|
help
|
|
Say Y or M here to include HDMI and DisplayPort HD-audio codec
|
|
support in snd-hda-intel driver. This includes all AMD/ATI,
|
|
Intel and Nvidia HDMI/DisplayPort codecs.
|
|
|
|
config SND_HDA_I915
|
|
bool
|
|
default y
|
|
depends on DRM_I915
|
|
|
|
config SND_HDA_CODEC_CIRRUS
|
|
tristate "Build Cirrus Logic codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include Cirrus Logic codec support in
|
|
snd-hda-intel driver, such as CS4206.
|
|
|
|
config SND_HDA_CODEC_CONEXANT
|
|
tristate "Build Conexant HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include Conexant HD-audio codec support in
|
|
snd-hda-intel driver, such as CX20549.
|
|
|
|
config SND_HDA_CODEC_CA0110
|
|
tristate "Build Creative CA0110-IBG codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include Creative CA0110-IBG codec support in
|
|
snd-hda-intel driver, found on some Creative X-Fi cards.
|
|
|
|
config SND_HDA_CODEC_CA0132
|
|
tristate "Build Creative CA0132 codec support"
|
|
help
|
|
Say Y or M here to include Creative CA0132 codec support in
|
|
snd-hda-intel driver.
|
|
|
|
config SND_HDA_CODEC_CA0132_DSP
|
|
bool "Support new DSP code for CA0132 codec"
|
|
depends on SND_HDA_CODEC_CA0132
|
|
select SND_HDA_DSP_LOADER
|
|
select FW_LOADER
|
|
help
|
|
Say Y here to enable the DSP for Creative CA0132 for extended
|
|
features like equalizer or echo cancellation.
|
|
|
|
Note that this option requires the external firmware file
|
|
(ctefx.bin).
|
|
|
|
config SND_HDA_CODEC_CMEDIA
|
|
tristate "Build C-Media HD-audio codec support"
|
|
select SND_HDA_GENERIC
|
|
help
|
|
Say Y or M here to include C-Media HD-audio codec support in
|
|
snd-hda-intel driver, such as CMI9880.
|
|
|
|
config SND_HDA_CODEC_SI3054
|
|
tristate "Build Silicon Labs 3054 HD-modem codec support"
|
|
help
|
|
Say Y or M here to include Silicon Labs 3054 HD-modem codec
|
|
(and compatibles) support in snd-hda-intel driver.
|
|
|
|
config SND_HDA_GENERIC
|
|
tristate "Enable generic HD-audio codec parser"
|
|
help
|
|
Say Y or M here to enable the generic HD-audio codec parser
|
|
in snd-hda-intel driver.
|
|
|
|
config SND_HDA_POWER_SAVE_DEFAULT
|
|
int "Default time-out for HD-audio power-save mode"
|
|
depends on PM
|
|
default 0
|
|
help
|
|
The default time-out value in seconds for HD-audio automatic
|
|
power-save mode. 0 means to disable the power-save mode.
|
|
|
|
endif
|