Repository navigation
MTL SDW AOIC fails to load topology #4906
Copy link
Copy link
Closed
Labels
MTLApplies to Meteor Lake platform.Applies to Meteor Lake platform.SDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connection
Description
From the latest kernel, we can see that 'SDW2-playback' is not created by the machine driver
[ 6.336183] snd_soc_sof_sdw:mc_probe: sof_sdw sof_sdw: Entry
[ 6.336190] snd_soc_sof_sdw:log_quirks: sof_sdw sof_sdw: quirk realtek,jack-detect-source 3
[ 6.336192] snd_soc_sof_sdw:count_sdw_endpoints: sof_sdw sof_sdw: Found 2 devices with 2 endpoints
[ 6.336196] snd_soc_sof_sdw:parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix rt711 for sdw:0:0:025d:0711:01
[ 6.336197] snd_soc_sof_sdw:parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 0, 0x30025d071101 end: 0, SimpleJack, P/C to solo: 0
[ 6.336201] snd_soc_sof_sdw:parse_sdw_endpoints: sof_sdw sof_sdw: Adding prefix rt1316-1 for sdw:0:3:025d:1316:01
[ 6.336202] snd_soc_sof_sdw:parse_sdw_endpoints: sof_sdw sof_sdw: Add dev: 3, 0x330025d131601 end: 0, SmartAmp, P/C to solo: 0
[ 6.336204] snd_soc_sof_sdw:sof_card_dai_links_create: sof_sdw sof_sdw: sdw 4, ssp 0, dmic 0, hdmi 3, bt: 0
[ 6.336208] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link SDW0-Playback, id 0
[ 6.336235] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link SDW0-Capture, id 1
[ 6.336238] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link SDW3-Playback, id 2
[ 6.336241] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link SDW3-Capture, id 3
[ 6.336243] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link iDisp1, id 4
[ 6.336246] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link iDisp2, id 5
[ 6.336249] snd_soc_sof_sdw:init_dai_link: sof_sdw sof_sdw: create dai link iDisp3, id 6
[ 6.336583] snd_sof:snd_sof_load_topology: sof-audio-pci-intel-mtl 0000:00:1f.3: loading topology:intel/sof-ipc4-tplg/sof-mtl-rt711-l0-rt1316-l23-rt714-l1.tplg
....
[ 6.336939] snd_sof:sof_widget_ready: sof-audio-pci-intel-mtl 0000:00:1f.3: tplg: widget 21 (alh-copier.SDW2-Playback.0) is ready [type: 27, pipe: 21, pins: 1 / 0, stream: SDW2-Playback]
[ 6.336943] sof-audio-pci-intel-mtl 0000:00:1f.3: error: can't connect DAI alh-copier.SDW2-Playback.0 stream SDW2-Playback
[ 6.336970] sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed to add widget id 0 type 27 name : alh-copier.SDW2-Playback.0 stream SDW2-Playback
[ 6.336992] sof_sdw sof_sdw: ASoC: failed to load widget alh-copier.SDW2-Playback.0
[ 6.337004] sof_sdw sof_sdw: ASoC: topology: could not load header: -22
[ 6.337038] sof-audio-pci-intel-mtl 0000:00:1f.3: error: tplg component load failed -22
[ 6.337053] sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed to load DSP topology -22
[ 6.337066] sof-audio-pci-intel-mtl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[ 6.337095] sof_sdw sof_sdw: ASoC: failed to instantiate card -22
[ 6.337317] sof_sdw sof_sdw: error -EINVAL: snd_soc_register_card failed -22
[ 6.337349] sof_sdw sof_sdw: probe with driver sof_sdw failed with error -22
This looks like either a bug in the machine driver after all the changes from @bardliao and @charleskeepax, or a problem with the topology.
I vote for the former, it's not clear to me why the microphone link is not created even though there's clearly a RT714 device listed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
MTLApplies to Meteor Lake platform.Applies to Meteor Lake platform.SDWApplies to SoundWire bus for codec connectionApplies to SoundWire bus for codec connection
Activity
plbossart commentedon Apr 5, 2024
Haha it's a bug in my own code, I added the ACPI entry in the wrong location so we select the HP Omen 14 configuration instead of the MTL SDW AOIC
This was not detected because of the silly use of the tplg_name kernel parameter
@fredoh9 @marc-hb we have to stop using those kernel parameters, and track what the kernel selects. The override should ONLY be used for specific configurations.
fixup! ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire con…
fixup! ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire con…
marc-hb commentedon Apr 5, 2024
Here's another example just for the record
https://sof-ci.01.org/linuxpr/PR4902/build2084/devicetest/index.html
[-]MTP SDW AOIC fails to load topology[/-][+]MTL SDW AOIC fails to load topology[/+]marc-hb commentedon Apr 5, 2024
You're preaching to the choir.
On the other hand, nothing there changed recently.
This regression was caught in #4882 (MTLP AIOC entirely red) yet it was merged anyway.
fixup! ASoC: Intel: soc-acpi: add support for HP Omen14 SoundWire con…
plbossart commentedon Apr 6, 2024
this just shows that when CI provides unclear results with no logs, everyone will ignore CI results. Me included.
marc-hb commentedon Apr 6, 2024
Yes, the entire industry knows that by now.
https://www.martinfowler.com/articles/continuousIntegration.html#FixBrokenBuildsImmediately