ASoC: SOF: Remove libraries from topology lookups
Subsystems (4)
PATCH 1/1 ASoC: SOF: Remove libraries from topology lookups
From: Curtis Malainey <[email protected]>
Default firmware shipped in open source are not licensed for 3P libraries, therefore topologies should not reference them.
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
--- sound/soc/sof/mediatek/mt8195/mt8195.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/sof/mediatek/mt8195/mt8195.c +1 -1
@@ -573,7 +573,7 @@ static struct snd_sof_dsp_ops sof_mt8195_ops = {static struct snd_sof_of_mach sof_mt8195_machs[] = { { .compatible ="google,tomato" , - .sof_tplg_filename ="sof-mt8195-mt6359-rt1019-rt5682-dts.tplg" + .sof_tplg_filename ="sof-mt8195-mt6359-rt1019-rt5682.tplg" }, { .compatible ="mediatek,mt8195" , .sof_tplg_filename ="sof-mt8195.tplg"
Signature · 1 line
2.44.0.291.gc1ea87d7ee-goog
AngeloGioacchino Del Regno
maintainerIl 18/03/24 19:29, [email protected] ha scritto:
Quoted 7 lines
From: Curtis Malainey <[email protected]>
Default firmware shipped in open source are not licensed for 3P libraries, therefore topologies should not reference them.
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
That's ok, but still needs the sof-mt8195-mt6359-rt1019-rt5682.tplg firmware in linux-firmware, or this change breaks sound.
Regards,
Angelo
Quoted 21 lines
Fixes 8a7d5d85ed2161 ("ASoC: SOF: mediatek: mt8195: Add devicetree support to select topologies")Signed-off-by Curtis Malainey <[email protected]>Cc Wojciech Macek <[email protected]>--- sound/soc/sof/mediatek/mt8195/mt8195.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/sof/mediatek/mt8195/mt8195.c +1
-1@@ -573,7 +573,7 @@ static struct snd_sof_dsp_ops sof_mt8195_ops = {static struct snd_sof_of_mach sof_mt8195_machs[] = { { .compatible ="google,tomato" , - .sof_tplg_filename ="sof-mt8195-mt6359-rt1019-rt5682-dts.tplg" + .sof_tplg_filename ="sof-mt8195-mt6359-rt1019-rt5682.tplg" }, { .compatible ="mediatek,mt8195" , .sof_tplg_filename ="sof-mt8195.tplg"
Quoted 7 lines · AngeloGioacchino Del Regno
Il 18/03/24 19:29, [email protected] ha scritto:
Quoted 5 lines
From: Curtis Malainey <[email protected]>
Default firmware shipped in open source are not licensed for 3P libraries, therefore topologies should not reference them.
Quoted 9 lines
Quoted 2 lines
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
That's ok, but still needs the sof-mt8195-mt6359-rt1019-rt5682.tplg firmware in linux-firmware, or this change breaks sound.
Regards,
Angelo
Got any docs I can refer to? I have never contributed to linux-firmware. If you are willing to send the update on my behalf that would be fine by me as well.
AngeloGioacchino Del Regno
maintainerIl 19/03/24 16:51, Curtis Malainey ha scritto:
Quoted 15 lines
Quoted 13 lines · AngeloGioacchino Del Regno
Il 18/03/24 19:29, [email protected] ha scritto:
Quoted 7 lines
From: Curtis Malainey <[email protected]>
Default firmware shipped in open source are not licensed for 3P libraries, therefore topologies should not reference them.
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
That's ok, but still needs the sof-mt8195-mt6359-rt1019-rt5682.tplg firmware in linux-firmware, or this change breaks sound.
Quoted 7 lines
Quoted 3 lines
Regards,
AngeloGot any docs I can refer to? I have never contributed to linux-firmware. If you are willing to send the update on my behalf that would be fine by me as well.
There you go:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/README.md
Anyway, can you please also describe what is the appropriate topology override mechanism in the description of this commit?
Thanks,
Angelo
Quoted 21 lines · AngeloGioacchino Del Regno
Il 19/03/24 16:51, Curtis Malainey ha scritto:
Quoted 19 lines
Quoted 16 lines · AngeloGioacchino Del Regno
Il 18/03/24 19:29, [email protected] ha scritto:
Quoted 7 lines
From: Curtis Malainey <[email protected]>
Default firmware shipped in open source are not licensed for 3P libraries, therefore topologies should not reference them.
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
That's ok, but still needs the sof-mt8195-mt6359-rt1019-rt5682.tplg firmware in linux-firmware, or this change breaks sound.
Regards,
Angelo
Quoted 6 lines
Quoted 3 lines
Got any docs I can refer to? I have never contributed to linux-firmware. If you are willing to send the update on my behalf that would be fine by me as well.
There you go:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/README.md
Thanks, I have spotted some other issues with the MTK builds, so I will be following up with them on this to get it updated.
Quoted 3 lines
Anyway, can you please also describe what is the appropriate topology override mechanism in the description of this commit?
Yep, as I said to Mark it will be part of v2
Curtis
Quoted 3 lines
Thanks,
Angelo
Mark Brown
maintainerQuoted 2 lines · On Mon, Mar 18, 2024 at 11:29:54AM -0700, [email protected] wrote:
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
A user who's bisected a problem to this commit might welcome some pointer to what the appropriate topology override mechanism is.
Quoted 8 lines · Mark Brown
Quoted 2 lines · On Mon, Mar 18, 2024 at 11:29:54AM -0700, [email protected] wrote:
If a OS wants to use 3P (that they have licensed) then they should use the appropriate topology override mechanisms.
A user who's bisected a problem to this commit might welcome some pointer to what the appropriate topology override mechanism is.
Ack, will add in V2