From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Ricardo Neri <ricardo.neri@ti.com>
Cc: mythripk@ti.com, s-guiriec@ti.com, lrg@ti.com,
peter.ujfalusi@ti.com, linux-omap@vger.kernel.org
Subject: Re: [PATCH 4/5] OMAPDSS: Export functions to enable dynamic linking
Date: Thu, 16 Feb 2012 08:34:58 +0200 [thread overview]
Message-ID: <1329374098.2046.9.camel@lappy> (raw)
In-Reply-To: <1329360397.2016.149.camel@dexx0075479.dextra-mty.naucm.ext.ti.com>
[-- Attachment #1: Type: text/plain, Size: 1801 bytes --]
On Wed, 2012-02-15 at 20:46 -0600, Ricardo Neri wrote:
> What other display types featuring audio and video should be considered
> at this point?
I guess they are a bit theoretical, so I wouldn't worry too much about
them. But if it's easy to make the API generic, instead of HDMI
specific, let's aim for generic one just to be on the safe side.
> > The audio driver should iterate the dss devices to find the ones (there
> > could well be multiple HDMI outputs) that support audio when the driver
> > starts.
> >
> > Does the above make sense?
>
> At first glance, I think the omapd_dss_audio_* functions should cover
> the following:
> * CEA-861 infoframe configuration
> * IEC-60958 configuration (IEC-61937 support added later)
> * audio start/stop
> * whether audio is supported by the current video configuration
> * a notifier power and video events (e.g, DVI/HDMI mode, changes in
> pixel clock and deep color configuration) to the ASoC driver. Maybe an
> enum can encompass DisplayPort and HDMI events.
Sounds fine to me (not that I understand anything about the audio side
=). For notifications, I've long planned to implement notifications for
omapdss/displays, mainly for hotplug but also other events. So I think
we should try to make the notification system not audio-specific, but
usable for other events also.
As for the API, I don't think omap_dss_audio_* is the way to go. The
audio functions should probably be function pointers in the
omap_dss_driver struct.
> I think that this is generic enough to cover DisplayPort and HDMI,
> unless you consider that I am missing some important display type.
>
> I can try to make it similar to omapfb.
Don't look too closely at omapfb, it's horribly ugly in many places =).
Tomi
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-02-16 6:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-11 23:55 [PATCH 0/5] OMAPDSS: Relocate ASoC HDMI codec to sound Ricardo Neri
2012-02-11 23:55 ` [PATCH 1/5] OMAPDSS: HDMI: Add function to get the HDMI mode Ricardo Neri
2012-02-11 23:55 ` [PATCH 2/5] OMAPDSS: HDMI: Rename audio functions in HDMI IP library Ricardo Neri
2012-02-11 23:55 ` [PATCH 3/5] OMAPDSS: HDMI: Add audio config functions to HDMI IP ops Ricardo Neri
2012-02-11 23:55 ` [PATCH 4/5] OMAPDSS: Export functions to enable dynamic linking Ricardo Neri
2012-02-13 13:48 ` Tomi Valkeinen
2012-02-15 0:00 ` Ricardo Neri
2012-02-15 8:23 ` Tomi Valkeinen
2012-02-16 2:46 ` Ricardo Neri
2012-02-16 6:34 ` Tomi Valkeinen [this message]
2012-02-11 23:55 ` [PATCH 5/5] OMAPDSS/ASoC: Relocate ASoC HDMI codec. Part 1 Ricardo Neri
2012-02-12 0:34 ` [PATCH 0/5] OMAPDSS: Relocate ASoC HDMI codec to sound Ricardo Neri
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=1329374098.2046.9.camel@lappy \
--to=tomi.valkeinen@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=lrg@ti.com \
--cc=mythripk@ti.com \
--cc=peter.ujfalusi@ti.com \
--cc=ricardo.neri@ti.com \
--cc=s-guiriec@ti.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 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.