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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xilin,

On 23/05/2024 05:09, Xilin Wu wrote:

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

Is the DP cable connected?

if its not connected the dsp will throw this error.

due to this issue I did workaround this issue by modeling it as conflicting device to Speaker in x13s ucm.

I see in your ucm setup its not the case.
which is why you might be hitting this issue.

Can you try
amixer -c 0 cset iface=MIXER,name='DISPLAY_PORT_RX_0 Audio Mixer MultiMedia2' 1
aplay -D plughw:0,1 some-wav-file.wav

both with and without display connected.


--srini



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux