You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG][TGL][SDW] playback failed on speaker: failed to find SOF DAI for: SDW2 Pin2 #2821
changed the title [-][BUG][TGLH][SDW] playback failed on speaker: failed to find SOF DAI for: SDW2 Pin2[/-][+][BUG][TGL][SDW] playback failed on speaker: failed to find SOF DAI for: SDW2 Pin2[/+]on Apr 6, 2021
@keqiaozhang can you confirm that this happened between Intel daily test 2935 and 3038? Please provide more context so that we can bisect configurations. Thanks!
242d33837f6218c1db1a020d8069cdf85545b277 is the first bad commit
commit 242d33837f6218c1db1a020d8069cdf85545b277
Author: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Date: Fri Mar 12 10:40:59 2021 -0800
ASoC: SOF: Intel: hda: make sure DAI widget is set up before IPC
With the implementation of the dynamic pipeline feature, widgets
will only be setup when a PCM is opened during the
hw_params ioctl. The BE hw_params callback is responsible for
sending the DAI_CONFIG for the DAI widgets in the DSP.
With dynamic pipelines, the DAI widgets will need to set up
first before sending the DAI_CONFIG IPC in the BE hw_params.
Update the BE hw_params/hw_free callbacks for all ALH, HDA and SSP
DAIs to set up/free the DAI widget before/after DAI_CONFIG IPC.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
sound/soc/sof/intel/hda-dai.c | 131 ++++++++++++++++++++++++---------------
sound/soc/sof/intel/hda.c | 141 ++++++++++++++++++++++++++++--------------
sound/soc/sof/intel/hda.h | 5 ++
3 files changed, 181 insertions(+), 96 deletions(-)
Activity
[-][BUG][TGLH][SDW] playback failed on speaker: failed to find SOF DAI for: SDW2 Pin2[/-][+][BUG][TGL][SDW] playback failed on speaker: failed to find SOF DAI for: SDW2 Pin2[/+]plbossart commentedon Apr 6, 2021
@keqiaozhang can you confirm that this happened between Intel daily test 2935 and 3038? Please provide more context so that we can bisect configurations. Thanks!
keqiaozhang commentedon Apr 7, 2021
@XiaoyunWu6666 , please help to do the bisection and update the result here.
plbossart commentedon Apr 8, 2021
this bug is confirmed on all devices with 2 amps and likely related to the dynamic pipelines. @ranj063 is already looking into this.
keqiaozhang commentedon Apr 9, 2021
Bisect result shows this issue is introduced by:
ranj063 commentedon Apr 9, 2021
The issue was not introduced by but rather exposed by that commit. @keqiaozhang can you please check if my PR helps?
keqiaozhang commentedon Apr 9, 2021
@ranj063 , confirmed that your PR#2832 can fix this issue.
keqiaozhang commentedon Apr 9, 2021
@ranj063 I found another issue with your PR, If I run aplay on speaker pipeline and press ctrl+c to stop aplay randomly. it will run to below error:
How to reproduce:
The reproduction rate is high >20%.
keqiaozhang commentedon Apr 9, 2021
@ranj063 , I found a easy way to reproduce the above issue I mentioned.
Then you can 100% reproduce the issue.
ranj063 commentedon Apr 9, 2021
@keqiaozhang @XiaoyunWu6666 could you please try the PR #2832 again to see if both this isseu and #2835 are fixed with it?
keqiaozhang commentedon Apr 12, 2021
@ranj063 , confirmed that PR #2832 can fix above 2 issues.
XiaoyunWu6666 commentedon Apr 12, 2021
@ranj063 , confirmed that PR #2832 can fix both this issue #2821 and issue #2835
ranj063 commentedon Apr 12, 2021
Thank you @keqiaozhang @XiaoyunWu6666