Skip to content

topology: Upgrade ABI to match kernel v4.8

[email protected] alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5topology: ABI - Add the types for BE DAIinclude/sound/asoc.h+32 -23 replies
2/5topology: Parse BE DAIs in text conf fileinclude/topology.h src/topology/data.c src/topology/elem.c +3 more+177 -00 replies
3/5topology: Support configuring BE DAIs by C APIinclude/topology.h src/topology/parser.c src/topology/pcm.c +1 more+74 -00 replies
4/5topology: Export BE DAIs to the binary for kernelsrc/topology/builder.c src/topology/parser.c src/topology/pcm.c +1 more+72 -00 replies
5/5topology: ABI - Add sig_bits to stream capsinclude/sound/asoc.h include/topology.h src/topology/pcm.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] topology: Upgrade ABI to match kernel v4.8

From: Mengdong Lin <[email protected]>

Now the topology ABI version in kernel is 5, added types for BE (Backend) DAIs and sig_bits in stream caps. But the ABI version in alsa-lib is still 4, without above ABI update.

Since the kernel merge window is open and the remaining topology ABI update (v3 kernel patch series) cannot be accepted atm. So we use this series to fix the ABI mismatch between kernel v4.8 and user space, by adding types for BE DAIs and sig_bits to stream caps and pumping topolpgy ABI version to 5 as well.

This patch series also completes the support for BE DAIs.

Guneshwor Singh (3):
topology: Parse BE DAIs in text conf file
topology: Support configuring BE DAIs by C API
topology: Export BE DAIs to the binary for kernel

Mengdong Lin (2):
topology: ABI - Add the types for BE DAI
topology: ABI - Add sig_bits to stream caps

 include/sound/asoc.h      |  35 ++++++-
 include/topology.h        |  45 +++++++++
 src/topology/builder.c    |  11 +++
 src/topology/data.c       |   4 +
 src/topology/elem.c       |   4 +
 src/topology/parser.c     |  16 ++++
 src/topology/pcm.c        | 238 ++++++++++++++++++++++++++++++++++++++++++++++
 src/topology/tplg_local.h |   7 ++
 8 files changed, 358 insertions(+), 2 deletions(-)
Signature · 1 line
2.5.0