Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deepin-Kernel-SIG] [Upstream] [linux 6.6-y] ASoC: some intel patches from mainline v6.7 and v6.8 #516

Merged
merged 23 commits into from
Dec 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
00d9269
Revert "ASoC: sof: convert not to use asoc_xxx()"
opsiff Dec 5, 2024
7b750d7
ASoC: SOF: ipc4-topology: export sof_ipc4_copier_is_single_format
bardliao Sep 15, 2023
b50abd5
ASoC: SOF: ipc4-pcm: fixup dailink based on copier format
bardliao Sep 15, 2023
8d0a80a
ASoC: sof: convert not to use asoc_xxx()
morimoto Sep 26, 2023
ac6bde0
ASoC: SOF: IPC4: get pipeline priority from topology
RanderWang Oct 6, 2023
eea267c
ASoC: SOF: IPC4: sort pipeline based on priority
RanderWang Oct 6, 2023
5138192
ASoC: SOF: core: Add probe_early and remove_late callbacks
plbossart Oct 9, 2023
f566b97
ASoC: SOF: Intel: hda: start splitting the probe
plbossart Oct 9, 2023
9bad364
ASoC: SOF: Move sof_of_machine_select() to sof-of-dev.c from sof-audio.c
ujfalusi Nov 29, 2023
eee1536
ASoC: SOF: Move sof_machine_* functions from sof-audio.c to core.c
ujfalusi Nov 29, 2023
27045e5
ASoC: SOF: Add placeholder for platform IPC type and path overrides
ujfalusi Nov 29, 2023
0c186e6
ASoC: SOF: sof-acpi-dev: Save the default IPC type and path overrides
ujfalusi Nov 29, 2023
2e962b5
ASoC: SOF: sof-of-dev: Save the default IPC type and path overrides
ujfalusi Nov 29, 2023
47f6dcc
ASoC: SOF: sof-pci-dev: Save the default IPC type and path overrides
ujfalusi Nov 29, 2023
35564ef
ASoC: SOF: core: Implement firmware, topology path setup in core
ujfalusi Nov 29, 2023
4932c15
ASoC: SOF: sof-acpi-dev: Rely on core to create the file paths
ujfalusi Nov 29, 2023
8637d44
ASoC: SOF: sof-of-dev: Rely on core to create the file paths
ujfalusi Nov 29, 2023
afb3626
ASoC: SOF: sof-pci-dev: Rely on core to create the file paths
ujfalusi Nov 29, 2023
1fe55db
ASoC: SOF: core: Add helper for initialization of paths, ops
ujfalusi Nov 29, 2023
918da7c
ASoC: SOF: Intel: Do not use resource managed allocation for ipc4_data
ujfalusi Nov 29, 2023
8433535
ASoC: SOF: core: Implement IPC version fallback if firmware files are…
ujfalusi Nov 29, 2023
65cdf21
ASoC: SOF: Intel: lnl: add core get and set support for dsp core
RanderWang Dec 4, 2023
4495546
ASoC: SOF: ipc4-pcm: remove log message for LLP
RanderWang Jan 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions include/sound/sof.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ enum sof_ipc_type {
SOF_IPC_TYPE_COUNT
};

struct sof_loadable_file_profile {
enum sof_ipc_type ipc_type;

const char *fw_path;
const char *fw_path_postfix;
const char *fw_name;
const char *fw_lib_path;
const char *fw_lib_path_postfix;
const char *tplg_path;
const char *tplg_name;
};

/*
* SOF Platform data.
*/
Expand Down Expand Up @@ -86,6 +98,9 @@ struct snd_sof_pdata {
/* descriptor */
const struct sof_dev_desc *desc;

/* platform's preferred IPC type and path overrides */
struct sof_loadable_file_profile ipc_file_profile_base;

/* firmware and topology filenames */
const char *fw_filename_prefix;
const char *fw_filename;
Expand Down
11 changes: 11 additions & 0 deletions sound/soc/sof/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ config SND_SOC_SOF_STRICT_ABI_CHECKS
If you are not involved in SOF releases and CI development,
select "N".

config SND_SOC_SOF_ALLOW_FALLBACK_TO_NEWER_IPC_VERSION
bool "SOF allow fallback to newer IPC version"
help
This option will allow the kernel to try to 'fallback' to a newer IPC
version if there are missing firmware files to satisfy the default IPC
version.
IPC version fallback to older versions is not affected by this option,
it is always available.
Say Y if you are involved in SOF development and need this option.
If not, select N.

config SND_SOC_SOF_DEBUG
bool "SOF debugging features"
help
Expand Down
3 changes: 2 additions & 1 deletion sound/soc/sof/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)

snd-sof-objs := core.o ops.o loader.o ipc.o pcm.o pm.o debug.o topology.o\
control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o
control.o trace.o iomem-utils.o sof-audio.o stream-ipc.o\
fw-file-profile.o

# IPC implementations
ifneq ($(CONFIG_SND_SOC_SOF_IPC3),)
Expand Down
Loading
Loading