mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bcb46a0e0e
you might feel like a deja vu to receive a bulk of changes at rc5, and it happens again; we've got a collection of fixes for ASoC. Most of fixes are targeted for the newly merged SOF (Sound Open Firmware) stuff and the relevant fixes for Intel platforms. Other than that, there are a few regression fixes for the recent ASoC core changes and HD-audio quirk, as well as a couple of FireWire fixes and for other ASoC codecs. -----BEGIN PGP SIGNATURE----- iQJCBAABCAAsFiEEIXTw5fNLNI7mMiVaLtJE4w1nLE8FAl0DY4YOHHRpd2FpQHN1 c2UuZGUACgkQLtJE4w1nLE/X9BAAzLc3OXBQhnQfFGvAmW8ro/bRuhwg3KjptwNe Zd/y6V4ru2Lhuqbr+EZMZqu665EkTg1CpHydMwsmD7bbmi47Xet7ocufjQMgHKcX l+QVRvzB+Ve5ARdUww8B6jqoc7CvZiM/tcW9VP3kphXOD4/iY1VcnRbVzHGYrAgI drLCnlC91Z5ssWPmAjuju6vZUwqCQupALs0wtdRFnwRonz0sCcPKjKzPAoS6KVQS 6kzRW3nLqKMpatbXdaSjb5tdVxRax8042sqaCqppvE1ToxvkbvSZykOwLQGDdCDn zkHUv+hmS76IV2Q4baCkAl4fkborKOJXgNQnoxQ5VDbOzBbOMy6867jQ+Y3gEx8k UqGpS2AA46c3pQcUvos0KqqHaSe3ESP2sH02k0BWWpmnyo927MAYE7qm80BnqjmJ emXXs0I5u5MkUBb00jP2QpvZqhoKzRLD84BWuHSlg5gIDCQ1cn1WIQaq8YIT4+Bf V50QUZMPI3PIw1g81XYLZXbhT/0b3zurOOhwEChPyJdz1ZoIyEeGMxt1rsZWD64B qn24AzRfIQTDteIYUmYovUtzZeFcAqQDsbtLQa98BzDHAYhvJEc+1bbT/NYgtv7/ zJqeFX9CbOcDihmiThvZKVAfThQeUCSWFBXk5JgBxs19uUa4et7XCHbXmPeyBJiq gF2xAhs= =9U0L -----END PGP SIGNATURE----- Merge tag 'sound-5.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound Pull sound fixes from Takashi Iwai: "It might feel like deja vu to receive a bulk of changes at rc5, and it happens again; we've got a collection of fixes for ASoC. Most of fixes are targeted for the newly merged SOF (Sound Open Firmware) stuff and the relevant fixes for Intel platforms. Other than that, there are a few regression fixes for the recent ASoC core changes and HD-audio quirk, as well as a couple of FireWire fixes and for other ASoC codecs" * tag 'sound-5.2-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (54 commits) Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops" ALSA: ice1712: Check correct return value to snd_i2c_sendbytes (EWS/DMX 6Fire) ALSA: oxfw: allow PCM capture for Stanton SCS.1m ALSA: firewire-motu: fix destruction of data for isochronous resources ASoC: Intel: sst: fix kmalloc call with wrong flags ASoC: core: Fix deadlock in snd_soc_instantiate_card() SoC: rt274: Fix internal jack assignment in set_jack callback ALSA: hdac: fix memory release for SST and SOF drivers ASoC: SOF: Intel: hda: use the defined ppcap functions ASoC: core: move DAI pre-links initiation to snd_soc_instantiate_card ASoC: Intel: cht_bsw_rt5672: fix kernel oops with platform_name override ASoC: Intel: cht_bsw_nau8824: fix kernel oops with platform_name override ASoC: Intel: bytcht_es8316: fix kernel oops with platform_name override ASoC: Intel: cht_bsw_max98090: fix kernel oops with platform_name override ASoC: sun4i-i2s: Add offset to RX channel select ASoC: sun4i-i2s: Fix sun8i tx channel offset mask ASoC: max98090: remove 24-bit format support if RJ is 0 ASoC: da7219: Fix build error without CONFIG_I2C ASoC: SOF: Intel: hda: Fix COMPILE_TEST build error ASoC: SOF: fix DSP oops definitions in FW ABI ...
162 lines
5.4 KiB
Plaintext
162 lines
5.4 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config SND_SOC_SOF_TOPLEVEL
|
|
bool "Sound Open Firmware Support"
|
|
help
|
|
This adds support for Sound Open Firmware (SOF). SOF is a free and
|
|
generic open source audio DSP firmware for multiple devices.
|
|
Say Y if you have such a device that is supported by SOF.
|
|
If unsure select "N".
|
|
|
|
if SND_SOC_SOF_TOPLEVEL
|
|
|
|
config SND_SOC_SOF_PCI
|
|
tristate "SOF PCI enumeration support"
|
|
depends on PCI
|
|
select SND_SOC_SOF
|
|
select SND_SOC_ACPI if ACPI
|
|
select SND_SOC_SOF_OPTIONS
|
|
select SND_SOC_SOF_INTEL_PCI if SND_SOC_SOF_INTEL_TOPLEVEL
|
|
help
|
|
This adds support for PCI enumeration. This option is
|
|
required to enable Intel Skylake+ devices
|
|
Say Y if you need this option
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_ACPI
|
|
tristate "SOF ACPI enumeration support"
|
|
depends on ACPI || COMPILE_TEST
|
|
select SND_SOC_SOF
|
|
select SND_SOC_ACPI if ACPI
|
|
select SND_SOC_SOF_OPTIONS
|
|
select SND_SOC_SOF_INTEL_ACPI if SND_SOC_SOF_INTEL_TOPLEVEL
|
|
select IOSF_MBI if X86 && PCI
|
|
help
|
|
This adds support for ACPI enumeration. This option is required
|
|
to enable Intel Haswell/Broadwell/Baytrail/Cherrytrail devices
|
|
Say Y if you need this option
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_OPTIONS
|
|
tristate
|
|
help
|
|
This option is not user-selectable but automagically handled by
|
|
'select' statements at a higher level
|
|
|
|
if SND_SOC_SOF_OPTIONS
|
|
|
|
config SND_SOC_SOF_NOCODEC
|
|
tristate
|
|
|
|
config SND_SOC_SOF_NOCODEC_SUPPORT
|
|
bool "SOF nocodec mode support"
|
|
help
|
|
This adds support for a dummy/nocodec machine driver fallback
|
|
option if no known codec is detected. This is typically only
|
|
enabled for developers or devices where the sound card is
|
|
controlled externally
|
|
Say Y if you need this nocodec fallback option
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_STRICT_ABI_CHECKS
|
|
bool "SOF strict ABI checks"
|
|
help
|
|
This option enables strict ABI checks for firmware and topology
|
|
files.
|
|
When these files are more recent than the kernel, the kernel
|
|
will handle the functionality it supports and may report errors
|
|
during topology creation or run-time usage if new functionality
|
|
is invoked.
|
|
This option will stop topology creation and firmware load upfront.
|
|
It is intended for SOF CI/releases and not for users or distros.
|
|
Say Y if you want strict ABI checks for an SOF release
|
|
If you are not involved in SOF releases and CI development
|
|
select "N".
|
|
|
|
config SND_SOC_SOF_DEBUG
|
|
bool "SOF debugging features"
|
|
help
|
|
This option can be used to enable or disable individual SOF firmware
|
|
and driver debugging options.
|
|
Say Y if you are debugging SOF FW or drivers.
|
|
If unsure select "N".
|
|
|
|
if SND_SOC_SOF_DEBUG
|
|
|
|
config SND_SOC_SOF_FORCE_NOCODEC_MODE
|
|
bool "SOF force nocodec Mode"
|
|
depends on SND_SOC_SOF_NOCODEC_SUPPORT
|
|
help
|
|
This forces SOF to use dummy/nocodec as machine driver, even
|
|
though there is a codec detected on the real platform. This is
|
|
typically only enabled for developers for debug purposes, before
|
|
codec/machine driver is ready, or to exclude the impact of those
|
|
drivers
|
|
Say Y if you need this force nocodec mode option
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_DEBUG_XRUN_STOP
|
|
bool "SOF stop on XRUN"
|
|
help
|
|
This option forces PCMs to stop on any XRUN event. This is useful to
|
|
preserve any trace data ond pipeline status prior to the XRUN.
|
|
Say Y if you are debugging SOF FW pipeline XRUNs.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_DEBUG_VERBOSE_IPC
|
|
bool "SOF verbose IPC logs"
|
|
help
|
|
This option enables more verbose IPC logs, with command types in
|
|
human-readable form instead of just 32-bit hex dumps. This is useful
|
|
if you are trying to debug IPC with the DSP firmware.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_DEBUG_FORCE_IPC_POSITION
|
|
bool "SOF force to use IPC for position update on SKL+"
|
|
help
|
|
This option force to handle stream position update IPCs and run pcm
|
|
elapse to inform ALSA about that, on platforms (e.g. Intel SKL+) that
|
|
with other approach (e.g. HDAC DPIB/posbuf) to elapse PCM.
|
|
On platforms (e.g. Intel SKL-) where position update IPC is the only
|
|
one choice, this setting won't impact anything.
|
|
if you are trying to debug pointer update with position IPCs or where
|
|
DPIB/posbuf is not ready, select "Y".
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_SOF_DEBUG_ENABLE_DEBUGFS_CACHE
|
|
bool "SOF enable debugfs caching"
|
|
help
|
|
This option enables caching of debugfs
|
|
memory -> DSP resource (memory, register, etc)
|
|
before the audio DSP is suspended. This will increase the suspend
|
|
latency and therefore should be used for debug purposes only.
|
|
Say Y if you want to enable caching the memory windows.
|
|
If unsure, select "N".
|
|
|
|
endif ## SND_SOC_SOF_DEBUG
|
|
|
|
endif ## SND_SOC_SOF_OPTIONS
|
|
|
|
config SND_SOC_SOF
|
|
tristate
|
|
select SND_SOC_TOPOLOGY
|
|
select SND_SOC_SOF_NOCODEC if SND_SOC_SOF_NOCODEC_SUPPORT
|
|
help
|
|
This option is not user-selectable but automagically handled by
|
|
'select' statements at a higher level
|
|
The selection is made at the top level and does not exactly follow
|
|
module dependencies but since the module or built-in type is decided
|
|
at the top level it doesn't matter.
|
|
|
|
config SND_SOC_SOF_PROBE_WORK_QUEUE
|
|
bool
|
|
help
|
|
This option is not user-selectable but automagically handled by
|
|
'select' statements at a higher level
|
|
When selected, the probe is handled in two steps, for example to
|
|
avoid lockdeps if request_module is used in the probe.
|
|
|
|
source "sound/soc/sof/intel/Kconfig"
|
|
source "sound/soc/sof/xtensa/Kconfig"
|
|
|
|
endif
|