From: Jean-Francois Moine <moinejf@free.fr>
To: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
Benjamin Gaignard <benjamin.gaignard@linaro.org>,
"broonie@kernel.org" <broonie@kernel.org>,
"lgirdwood@gmail.com" <lgirdwood@gmail.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"peter.ujfalusi@ti.com" <peter.ujfalusi@ti.com>,
"tony@atomide.com" <tony@atomide.com>,
"tomi.valkeinen@ti.com" <tomi.valkeinen@ti.com>,
Jyri Sarha <jsarha@ti.com>,
"bcousson@baylibre.com" <bcousson@baylibre.com>
Subject: Re: [alsa-devel] [PATCH RFC V2 0/5] another generic audio hdmi codec proposal
Date: Tue, 6 Oct 2015 16:33:11 +0200 [thread overview]
Message-ID: <20151006163311.03067bb5@OPI2> (raw)
In-Reply-To: <561392F7.90608@st.com>
On Tue, 6 Oct 2015 11:23:03 +0200
Arnaud Pouliquen <arnaud.pouliquen@st.com> wrote:
[snip]
> As API is defined in DRM, it seems more logical to match it with the one
> defined for video. From my windows, i didn't see any blocking point to
> connect codec callback with this API.
> But anyway, this API is not freezed, it could be improved with your help.
Arnaud, your implementation seems more heavy than Jyri's, and I don't
feel the DRM bridge.
For HDMI, the exchanges between DRM and ALSA are only:
- DRM -> ALSA
- device connection with the audio constraints
- device disconnection
- ALSA -> DRM
- start audio with the chosen audio parameters
- stop audio
and, in the system, the HDMI devices are seen as DRM connectors (video
view) and as ASoC CODECs (audio view).
We just need a link between these entities.
I don't think that the bridge offers this.
(going further, it seems natural to me that both entities would be
supported by the same kernel device and that the exchange functions and
values could be defined both ways from a common structure - audio
constraints, playback parameters, connector2codec functions,
codec2connector functions - but this is an other story...)
--
Ken ar c'hentañ | ** Breizh ha Linux atav! **
Jef | http://moinejf.free.fr/
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2015-10-06 14:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 16:50 [PATCH RFC V2 0/5] another generic audio hdmi codec proposal Arnaud Pouliquen
2015-10-01 16:50 ` [PATCH RFC V2 1/5] video: hdmi: add helper function for N and CTS Arnaud Pouliquen
2015-10-01 16:50 ` [PATCH RFC V2 2/5] drm: add helper functions to add audio capabilities for bridge Arnaud Pouliquen
2015-10-01 16:50 ` [PATCH RFC V2 3/5] ASoC: codec: hdmi drm codec driver Arnaud Pouliquen
2015-10-01 16:50 ` [PATCH RFC V2 4/5] drm: sti: connect audio driver Arnaud Pouliquen
2015-10-01 16:50 ` [PATCH RFC V2 5/5] DT: sti: add audio HDMI dai link in audio card Arnaud Pouliquen
2015-10-05 13:27 ` [PATCH RFC V2 0/5] another generic audio hdmi codec proposal Jyri Sarha
2015-10-06 9:23 ` Arnaud Pouliquen
2015-10-06 14:33 ` Jean-Francois Moine [this message]
2015-10-07 7:48 ` Arnaud Pouliquen
2015-10-07 9:05 ` [alsa-devel] " Russell King - ARM Linux
2015-10-06 15:44 ` Jyri Sarha
2015-10-06 16:46 ` Mark Brown
2015-10-06 18:51 ` [alsa-devel] " Russell King - ARM Linux
2015-10-07 7:36 ` Jyri Sarha
2015-10-07 8:19 ` Arnaud Pouliquen
2015-10-07 10:21 ` Lars-Peter Clausen
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=20151006163311.03067bb5@OPI2 \
--to=moinejf@free.fr \
--cc=alsa-devel@alsa-project.org \
--cc=arnaud.pouliquen@st.com \
--cc=bcousson@baylibre.com \
--cc=benjamin.gaignard@linaro.org \
--cc=broonie@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=jsarha@ti.com \
--cc=lgirdwood@gmail.com \
--cc=linux@arm.linux.org.uk \
--cc=peter.ujfalusi@ti.com \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).