From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: "K, Mythri P" <mythripk@ti.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4
Date: Thu, 10 Mar 2011 17:06:20 +0200 [thread overview]
Message-ID: <1299769580.2017.235.camel@deskari> (raw)
In-Reply-To: <1299753858-12222-1-git-send-email-mythripk@ti.com>
Hi Mythri,
On Thu, 2011-03-10 at 04:44 -0600, K, Mythri P wrote:
> Adding HDMI support on OMAP4.
>
> HDMI is a driver that is similar to the VENC or the DSI driver to support
> HDMI/DVI sink device.
>
> The current design adheres to the DSS2 architecture.
I was testing this on Blaze, with VENC enabled in Kconfig and a small
hack in venc.c which skips registering the venc device on omap4.
I haven't seen these earlier, so it may just be I've been lucky, or
enabling VENC affected this.
I've seen this twice when loading the modules:
[ 23.007690] omapdss HDMI: no valid timing found , falling back to VGA
[ 23.040161] omapdss HDMI error: PLL GO bit not set
[ 23.045196] omapdss HDMI error: failed to power on device
[ 23.050964] omapdss error: failed to power on
[ 23.055572] omapfb omapfb: Failed to enable display 'hdmi'
[ 23.066162] omapfb omapfb: failed to setup omapfb
[ 23.071166] omapfb: probe of omapfb failed with error -5
And I've seen this once when unloading modules:
[ 126.473419] omapdss DISPC error: SYNC_LOST_DIGIT, disabling TV
[ 126.569244] omapdss DISPC error: timeout waiting for EVSYNC
[ 126.670776] omapdss DISPC error: timeout waiting for EVSYNC
[ 126.773376] omapdss HDMI: no valid timing found , falling back to VGA
[ 126.881896] omapdss DISPC error: timeout waiting for EVSYNC
[ 126.983367] omapdss DISPC error: timeout waiting for EVSYNC
rmmod: can't unload 'omapdss': Resource temporarily unavailable
This looks a bit bad, as it sounds to me that when an error happened,
some code path returned too early and the omapdss driver could not
unload.
There is this code in dss.c:
#ifdef CONFIG_OMAP2_DSS_VENC
REG_FLD_MOD(DSS_CONTROL, 1, 4, 4); /* venc dac demen */
REG_FLD_MOD(DSS_CONTROL, 1, 3, 3); /* venc clock 4x enable */
REG_FLD_MOD(DSS_CONTROL, 0, 2, 2); /* venc clock mode = normal */
#endif
They don't sound like they would affect HDMI, but that was the only
difference I found (between VENC enabled and disabled) with a quick
search.
Tomi
next prev parent reply other threads:[~2011-03-10 15:06 UTC|newest]
Thread overview: 73+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-10 10:44 [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4 Mythri P K
2011-03-10 10:44 ` [PATCH v5 01/10] OMAP4 : DSS2 : Add display type HDMI to DSS2 Mythri P K
2011-03-10 10:44 ` [PATCH v5 02/10] OMAP4 : DSS2 : HDMI: Select between HDMI VENC clock source Mythri P K
2011-03-10 10:44 ` [PATCH v5 03/10] OMAP4 : DSS2 : HDMI: Dispc gamma enable set/reset function for TV Mythri P K
2011-03-10 10:44 ` [PATCH v5 04/10] OMAP4 : DSS2 : HDMI: HDMI driver header file addition Mythri P K
2011-03-10 10:44 ` [PATCH v5 05/10] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS Mythri P K
2011-03-10 10:44 ` [PATCH v5 06/10] OMAP4 : DSS2 : HDMI: HDMI panel " Mythri P K
2011-03-10 10:44 ` [PATCH v5 07/10] OMAP4 : DSS2 : HDMI: Add makefile and kconfig changes to enable HDMI in OMAP4 Mythri P K
2011-03-10 10:44 ` [PATCH v5 08/10] OMAP4 : DSS : HDMI: Call to HDMI module init to register driver Mythri P K
2011-03-10 10:44 ` [PATCH v5 09/10] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 SDP Mythri P K
2011-03-10 10:44 ` [PATCH v5 10/10] OMAP4 : HDMI : Add HDMI structure in the board file for OMAP4 PANDA Mythri P K
2011-03-15 4:23 ` Tomi Valkeinen
2011-03-15 14:47 ` John S
2011-03-10 14:04 ` [PATCH v5 08/10] OMAP4 : DSS : HDMI: Call to HDMI module init to register driver Tomi Valkeinen
2011-03-10 13:59 ` [PATCH v5 07/10] OMAP4 : DSS2 : HDMI: Add makefile and kconfig changes to enable HDMI in OMAP4 Tomi Valkeinen
2011-03-10 13:58 ` [PATCH v5 05/10] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS Tomi Valkeinen
2011-03-10 13:52 ` [PATCH v5 03/10] OMAP4 : DSS2 : HDMI: Dispc gamma enable set/reset function for TV Tomi Valkeinen
2011-05-05 13:50 ` Laurent Pinchart
2011-03-10 13:49 ` [PATCH v5 02/10] OMAP4 : DSS2 : HDMI: Select between HDMI VENC clock source Tomi Valkeinen
2011-03-10 13:48 ` [PATCH v5 01/10] OMAP4 : DSS2 : Add display type HDMI to DSS2 Tomi Valkeinen
2011-03-10 16:53 ` Aaro Koskinen
2011-03-10 13:44 ` [PATCH v5 00/10] OMAP4 : DSS2 : HDMI support on OMAP4 Tomi Valkeinen
2011-03-10 14:45 ` Stephan Raue
2011-03-10 14:51 ` Tomi Valkeinen
2011-03-11 0:07 ` Stephan Raue
2011-03-11 6:16 ` K, Mythri P
2011-03-11 7:24 ` Tomi Valkeinen
2011-03-11 13:23 ` Hiremath, Vaibhav
2011-03-14 8:35 ` Hiremath, Vaibhav
2011-03-14 9:24 ` Tomi Valkeinen
2011-03-14 9:35 ` Hiremath, Vaibhav
2011-03-16 6:45 ` Tomi Valkeinen
2011-03-16 6:47 ` Hiremath, Vaibhav
2011-03-11 7:12 ` Tomi Valkeinen
2011-03-11 8:43 ` Stephan Raue
2011-03-11 13:22 ` Tomi Valkeinen
2011-03-11 16:18 ` Stephan Raue
2011-03-11 18:27 ` Tomi Valkeinen
2011-03-11 18:42 ` Stephan Raue
2011-03-12 6:51 ` K, Mythri P
2011-03-13 14:32 ` Stephan Raue
2011-03-13 16:20 ` Stephan Raue
2011-03-16 6:51 ` Tomi Valkeinen
2011-03-16 10:53 ` K, Mythri P
2011-03-16 10:59 ` Tomi Valkeinen
2011-03-16 23:49 ` Stephan Raue
2011-03-17 11:11 ` Tomi Valkeinen
2011-03-17 16:20 ` Janorkar, Mayuresh
2011-03-17 20:16 ` Stephan Raue
2011-03-17 21:13 ` Stephan Raue
2011-03-17 21:34 ` Stephan Raue
2011-03-18 3:45 ` Tomi Valkeinen
2011-03-18 5:43 ` Anand Gadiyar
2011-03-18 6:17 ` Gadiyar, Anand
2011-03-18 5:43 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-18 5:52 ` Anand Gadiyar
2011-03-14 10:37 ` Jan, Sebastien
2011-03-15 4:06 ` Tomi Valkeinen
2011-03-15 4:38 ` K, Mythri P
2011-03-10 15:06 ` Tomi Valkeinen [this message]
2011-03-11 8:24 ` K, Mythri P
2011-03-16 8:32 ` Tomi Valkeinen
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=1299769580.2017.235.camel@deskari \
--to=tomi.valkeinen@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mythripk@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 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).