From: Arnaud Pouliquen <arnaud.pouliquen@st.com>
To: alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org
Cc: kernel@stlinux.com, Takashi Iwai <tiwai@suse.de>,
lgirdwood@gmail.com, Jyri Sarha <jsarha@ti.com>,
Takashi Sakamoto <o-takashi@sakamocchi.jp>,
David Airlie <airlied@linux.ie>,
broonie@kernel.org, Daniel Vetter <daniel.vetter@intel.com>
Subject: [PATCH 0/2] Generic HDMI codec: Add channel mapping control
Date: Thu, 8 Dec 2016 17:37:45 +0100 [thread overview]
Message-ID: <1481215067-19362-1-git-send-email-arnaud.pouliquen@st.com> (raw)
Aim of this patch is to add 'Playback Channel Map' control to export
audio capabilities in term of HDMI sink speakers allocation.
This patch follow discussion initiates here:
[RFC] ASOC: HDMI audio info frame speaker allocation
http://www.spinics.net/lists/alsa-devel/msg57363.html
The code is fully inspired from HDA driver.
On hw_param, HDMI sink speaker capabilities are exported via TLV ops
and a CEA allocation is choson, based on ELD information and the number of
channels requested by user.
Mains differences with HDA implementation are:
- Control is read only
- Channel swap is not supported. Consequence is that unused channel in
the mid of CEA audio infoframe channel mapping are considered as
active.
example for channel allocation 0x02: FL, FR, 0, FC)
This configuration is only available for a 4 channels stream.
- Channel allocation table has been reordered and HDMI 2.0 is not
supported.
Arnaud Pouliquen (2):
DRM: add help to get ELD speaker allocation
ASoC: hdmi-codec: add channel mapping control
include/drm/drm_edid.h | 13 ++
sound/soc/codecs/hdmi-codec.c | 346 +++++++++++++++++++++++++++++++++++++++++-
2 files changed, 358 insertions(+), 1 deletion(-)
--
1.9.1
next reply other threads:[~2016-12-08 16:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 16:37 Arnaud Pouliquen [this message]
2016-12-08 16:37 ` [PATCH 1/2] DRM: add help to get ELD speaker allocation Arnaud Pouliquen
2017-01-20 15:29 ` Applied "DRM: add help to get ELD speaker allocation" to the asoc tree Mark Brown
2016-12-08 16:37 ` [PATCH 2/2] ASoC: hdmi-codec: add channel mapping control Arnaud Pouliquen
2016-12-11 6:09 ` Takashi Sakamoto
2016-12-12 9:38 ` Arnaud Pouliquen
2016-12-12 9:54 ` Takashi Iwai
2016-12-12 12:12 ` Takashi Sakamoto
2016-12-12 12:55 ` Takashi Iwai
2016-12-12 14:05 ` Takashi Sakamoto
2016-12-12 15:12 ` Arnaud Pouliquen
2016-12-12 12:03 ` Takashi Sakamoto
2016-12-12 13:46 ` Arnaud Pouliquen
2016-12-13 13:23 ` Takashi Sakamoto
2016-12-13 13:58 ` Takashi Sakamoto
2016-12-13 14:49 ` Arnaud Pouliquen
2016-12-12 17:16 ` Arnaud Pouliquen
2016-12-08 20:52 ` [PATCH 0/2] Generic HDMI codec: Add " Takashi Sakamoto
2016-12-08 21:13 ` Takashi Sakamoto
2016-12-09 14:06 ` Arnaud Pouliquen
2016-12-11 1:16 ` Takashi Sakamoto
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=1481215067-19362-1-git-send-email-arnaud.pouliquen@st.com \
--to=arnaud.pouliquen@st.com \
--cc=airlied@linux.ie \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=daniel.vetter@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=kernel@stlinux.com \
--cc=lgirdwood@gmail.com \
--cc=o-takashi@sakamocchi.jp \
--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.