From: fuweix.tang@intel.com
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, liam.r.girdwood@linux.intel.com,
Fuwei Tang <fuweix.tang@intel.com>,
mengdong.lin@intel.com
Subject: [PATCH 0/4] topology: Support using "index" to group objects when generating binary for kernel
Date: Thu, 13 Apr 2017 14:52:43 +0800 [thread overview]
Message-ID: <cover.1492065639.git.fuweix.tang@intel.com> (raw)
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
next reply other threads:[~2017-04-13 6:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-13 6:52 fuweix.tang [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1492065639.git.fuweix.tang@intel.com \
--to=fuweix.tang@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=mengdong.lin@intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.