All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel
@ 2017-04-13  6:52 fuweix.tang
  2017-04-13  6:52 ` [PATCH 1/4] topology: Insert new element based on its index value fuweix.tang
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fuweix.tang @ 2017-04-13  6:52 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, liam.r.girdwood, Fuwei Tang, mengdong.lin

From: Fuwei Tang <fuweix.tang@intel.com>

The index value of an topology object can be used to group objects for different
use cases. And so the audio kernel driver can ask topology core to load all
objects of the specified index value(use case). The function is already supported
in kernel.
So in the user space, for topology objects of the same type but with different
index values, they should be written into different blocks in the binary for
kernel. The index value is stored in the block header.

Fuwei Tang (4):
  topology: Insert new element based on its index value
  topology: Remove code parsing index value in paring each object
  topology: Look up references for an object based on its index
  topology: Group elements with the same index value into a block

 include/topology.h        | 10 +++--
 src/topology/builder.c    | 94 +++++++++++++++++++++++++----------------------
 src/topology/ctl.c        | 31 +---------------
 src/topology/dapm.c       | 27 +++++---------
 src/topology/data.c       | 15 ++------
 src/topology/elem.c       | 74 +++++++++++++++++++++++++++----------
 src/topology/pcm.c        | 58 ++++++-----------------------
 src/topology/tplg_local.h |  3 +-
 8 files changed, 141 insertions(+), 171 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-21 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13  6:52 [PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel fuweix.tang
2017-04-13  6:52 ` [PATCH 1/4] topology: Insert new element based on its index value fuweix.tang
2017-04-13  6:52 ` [PATCH 2/4] topology: Remove code parsing index value in paring each object fuweix.tang
2017-04-13  6:52 ` [PATCH 3/4] topology: Look up references for an object based on its index fuweix.tang
2017-04-13  6:52 ` [PATCH 4/4] topology: Group elements with the same index value into a block fuweix.tang
2017-04-21 10:58 ` [PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.