Skip to content

topology: Add support for vendor tuples

[email protected] alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesIn review
  2. v27 patches 6 repliesSuperseded
  3. v17 patches 7 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7topology: Use the generic pointer to free an element's objectsrc/topology/elem.c+2 -20 replies
2/7topology: Define a free handler for the elementsrc/topology/elem.c src/topology/tplg_local.h+7 -10 replies
3/7topology: Add doc for vendor tuplesinclude/topology.h+73 -40 replies
4/7topology: ABI - Define types for vendor tuplesinclude/sound/asoc.h+41 -10 replies
5/7topology: Add support for vendor tokensinclude/topology.h src/topology/data.c src/topology/elem.c +2 more+79 -00 replies
6/7topology: Add support for parsing vendor tuplesinclude/topology.h src/topology/data.c src/topology/elem.c +2 more+283 -10 replies
7/7topology: Build data objects with tuplessrc/topology/data.c src/topology/parser.c src/topology/tplg_local.h+218 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] topology: Add support for vendor tuples

From: Mengdong Lin <[email protected]>

This series addes support for vendor tuples to topology, to avoid importing binary data blob from other files.

Backward compatibility of ABI is not impacted. A kernel patch is also submitted "ASoC: topology: ABI - Define types for vendor tuples".

The 1st patch is small code cleanup.
The 2nd patch is a preparation, since tuples will need the type-specific free handler.

History:
v2: add check on string length, use strtol() to get hex value,
and fix memory leak.
v3: Fix overflow on uuid string copy. Use strtoul() to get unsigned
vendor values and check range, tested on 32 & 64 bit systems.

Mengdong Lin (7):
topology: Use the generic pointer to free an element's object
topology: Define a free handler for the element
topology: Add doc for vendor tuples
topology: ABI - Define types for vendor tuples
topology: Add support for vendor tokens
topology: Add support for parsing vendor tuples
topology: Build data objects with tuples

 include/sound/asoc.h      |  42 +++-
 include/topology.h        |  79 +++++++-
 src/topology/data.c       | 503 +++++++++++++++++++++++++++++++++++++++++++++-
 src/topology/elem.c       |  15 +-
 src/topology/parser.c     |  24 +++
 src/topology/tplg_local.h |  47 +++++
 6 files changed, 702 insertions(+), 8 deletions(-)
Signature · 1 line
2.5.0