Re: [PATCH v2 0/4] ASoC: qcom: display port changes

Xilin Wu
2024-05-23T04:10:00Z

On 2024/4/22 21:43, srinivas.kandagatla@linaro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> This patchset adds support for.
> 1. parse Display Port module tokens from ASoC topology
> 2. add support to DP/HDMI Jack events.
> 3. fixes a typo in function name in sm8250
>
> Verified these patches on X13s along with changes to tplg in
> https://git.codelinaro.org/linaro/qcomlt/audioreach-topology/-/tree/topic/x13s-dp?ref_type=heads
> and ucm changes from https://github.com/Srinivas-Kandagatla/alsa-ucm-conf/tree/topic/x13s-dp
>
> Thanks,
> Srini
>
> Changes since v1:
> - Fixed unused variable warning.
> - fixed warning 'break;' to avoid fall-through
>
> Srinivas Kandagatla (4):
> ASoC: qcom: q6dsp: parse Display port tokens
> ASoC: qcom: common: add Display port Jack function
> ASoC: qcom: sc8280xp: add Display port Jack
> ASoC: qcom: sm8250: fix a typo in function name
>
> sound/soc/qcom/common.c | 29 +++++++++++++++++++++++++++++
> sound/soc/qcom/common.h | 3 +++
> sound/soc/qcom/qdsp6/topology.c | 26 ++++++++++++++++++++++++++
> sound/soc/qcom/sc8280xp.c | 14 ++++++++++++++
> sound/soc/qcom/sm8250.c | 4 ++--
> 5 files changed, 74 insertions(+), 2 deletions(-)
>

Hi Srini,

I tested this series on SM8550 with tplg in [1] and ucm in [2]. But the
kernel output errors attached below. Headphone does work properly
without DisplayPort in the ucm.

What could be the possible cause of this? Is there any significant
change from sc8280xp to sm8550?

--
Thanks,
Xilin Wu

[1]
https://github.com/edk2-porting/audioreach-topology/blob/sakuramist/QCS8550-AYN-ODIN2.m4
[2]
https://github.com/strongtz/alsa-ucm-conf/blob/odin2/ucm2/Qualcomm/sm8550/HiFi.conf

[ 1552.313713] qcom-apm gprsvc:service:2:1: Error (1) Processing
0x01001000 cmd
[ 1552.313730] qcom-apm gprsvc:service:2:1: DSP returned error[1001000] 1
[ 1552.314455] qcom-apm gprsvc:service:2:1: Error (1) Processing
0x01001006 cmd
[ 1552.314463] qcom-apm gprsvc:service:2:1: DSP returned error[1001006] 1
[ 1552.315496] qcom-apm gprsvc:service:2:1: Error (1) Processing
0x01001006 cmd
[ 1552.315506] qcom-apm gprsvc:service:2:1: DSP returned error[1001006] 1
[ 1552.316033] qcom-apm gprsvc:service:2:1: Error (1) Processing
0x01001001 cmd
[ 1552.316042] qcom-apm gprsvc:service:2:1: DSP returned error[1001001] 1
[ 1552.316045] q6apm-lpass-dais
30000000.remoteproc:glink-edge:gpr:service@1:bedais: Failed to prepare
Graph -22
[ 1552.316047] q6apm-lpass-dais
30000000.remoteproc:glink-edge:gpr:service@1:bedais: ASoC: error at
snd_soc_pcm_dai_prepare on DISPLAY_PORT_RX_0: -22