[PATCH v2 00/14] ASoC: qcom: q6dsp: few fixes and enhancements

Srinivas Kandagatla posted 14 patches 1 month, 3 weeks ago
There is a newer version of this series
.../sound/qcom,q6dsp-lpass-ports.h            |  12 ++
sound/soc/qcom/common.c                       |   6 +
sound/soc/qcom/common.h                       |   3 +
sound/soc/qcom/lpass.h                        |   3 +-
sound/soc/qcom/qdsp6/audioreach.c             |  60 ------
sound/soc/qcom/qdsp6/audioreach.h             |   5 +-
sound/soc/qcom/qdsp6/q6afe-dai.c              |   6 +
sound/soc/qcom/qdsp6/q6afe.c                  |   6 +
sound/soc/qcom/qdsp6/q6afe.h                  |   3 +-
sound/soc/qcom/qdsp6/q6apm-dai.c              | 105 ++++++++--
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c       |  47 +++--
sound/soc/qcom/qdsp6/q6apm.c                  | 187 ++++++++++++------
sound/soc/qcom/qdsp6/q6apm.h                  |  21 +-
sound/soc/qcom/qdsp6/q6dsp-lpass-ports.c      |  76 +++++++
sound/soc/qcom/qdsp6/topology.c               |   8 +-
15 files changed, 387 insertions(+), 161 deletions(-)
[PATCH v2 00/14] ASoC: qcom: q6dsp: few fixes and enhancements
Posted by Srinivas Kandagatla 1 month, 3 weeks ago
This patchset contains few fixes for the bugs hit during testing with
Monza EVK platform
- around array out of bounds access on dai ids which keep extending but
  the drivers seems to have hardcoded some numbers, fix this and clean
the mess up
- fix few issues discovered while trying to shut down dsp.
- flooding rpmsg with write requests due to not resetting queue pointer,
  fix this resetting the pointer in trigger stop.
- possible multiple graph opens which can result in open failures.

Apart from this few new enhancements to the dsp side
- add new LPI MI2S and senary dai entires
- handle pipewire and Displayport issues by moving graph start to
  trigger level, which should fix outstanding pipewire and DP issues on
Qualcomm SoCs.
- remove some unnessary loops in hot path
- support early memory map on DSP.


Thanks,
Srini

Changes since v1:
	- removed LPASS MAX PORT define from bindings
	- added few fixes found while testing dsp shutdown usecase on
	  Monaco.
	- replaced tab with space
	- added port range check in place at runtime to catch array out
	  of bounds in future.

Mohammad Rafi Shaik (2):
  ASoC: dt-bindings: qcom,q6dsp-lpass-ports: Add Senary MI2S port
  ASoC: qcom: q6dsp: Add Senary MI2S audio interface support

Srinivas Kandagatla (12):
  ASoC: qcom: q6apm: move component registration to unmanaged version
  ASoC: qcom: q6apm: remove child devices when apm is removed
  ASoC: qcom: qdsp6: topology: check widget type before accessing data
  ASoC: qcom: q6apm-lpass-dai: Fix multiple graph opens
  ASoC: qcom: q6apm-dai: reset queue ptr on trigger stop
  ASoC: qcom: common: validate cpu dai id during parsing
  ASoC: dt-bindings: qcom: add LPASS LPI MI2S dai ids
  ASoC: qcom: qdsp6: lpass-ports: add support for LPASS LPI MI2S dais
  ASoC: qcom: qdapm-lpass-dai: correct the error message
  ASoC: qcom: q6apm-lpass-dai: move graph start to trigger
  ASoC: qcom: qdsp6: remove search for module iid in hot path
  ASoC: qcom: q6apm: Add support for early buffer mapping on DSP

 .../sound/qcom,q6dsp-lpass-ports.h            |  12 ++
 sound/soc/qcom/common.c                       |   6 +
 sound/soc/qcom/common.h                       |   3 +
 sound/soc/qcom/lpass.h                        |   3 +-
 sound/soc/qcom/qdsp6/audioreach.c             |  60 ------
 sound/soc/qcom/qdsp6/audioreach.h             |   5 +-
 sound/soc/qcom/qdsp6/q6afe-dai.c              |   6 +
 sound/soc/qcom/qdsp6/q6afe.c                  |   6 +
 sound/soc/qcom/qdsp6/q6afe.h                  |   3 +-
 sound/soc/qcom/qdsp6/q6apm-dai.c              | 105 ++++++++--
 sound/soc/qcom/qdsp6/q6apm-lpass-dais.c       |  47 +++--
 sound/soc/qcom/qdsp6/q6apm.c                  | 187 ++++++++++++------
 sound/soc/qcom/qdsp6/q6apm.h                  |  21 +-
 sound/soc/qcom/qdsp6/q6dsp-lpass-ports.c      |  76 +++++++
 sound/soc/qcom/qdsp6/topology.c               |   8 +-
 15 files changed, 387 insertions(+), 161 deletions(-)

-- 
2.47.3