From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: Joe Woodward <jw@terrafix.co.uk>,
khilman@ti.com, Archit Taneja <a0393947@ti.com>,
linux-omap@vger.kernel.org
Subject: Re: v3.4-rc4 DSS PM problem (Was: Re: Problems with 3.4-rc5)
Date: Wed, 16 May 2012 12:20:01 +0300 [thread overview]
Message-ID: <1337160001.7692.24.camel@deskari> (raw)
In-Reply-To: <1337159300.7692.22.camel@deskari>
[-- Attachment #1: Type: text/plain, Size: 2154 bytes --]
On Wed, 2012-05-16 at 12:08 +0300, Tomi Valkeinen wrote:
> On Tue, 2012-05-15 at 11:55 -0600, Paul Walmsley wrote:
> > Hello Tomi,
> >
> > On Mon, 14 May 2012, Tomi Valkeinen wrote:
> >
> > > I've been doing testing to understand the problem, but so far I don't
> > > have any idea why things go wrong. I haven't found out any logic in
> > > which configuration works and which doesn't. Looks to me that for some
> > > reason the PM prevents DSS from getting data fast enough with certain
> > > fifo thresholds.
> > >
> > > I have two ways to avoid the problem, but I've been reluctant to make
> > > patches for those because I feel it's just hiding the problem. One way
> > > is to change DISPC SIDLEMODE or MIDLEMODE to disallow idle/standby. The
> > > other is to use certain fifo threshold values, which just seem to work
> > > for unknown reasons.
> > >
> > > Considering that we already have a SIDLEMODE hack in DSS for omap3 when
> > > using DSI, I wonder if the omap3 PM + DSS combination is just plain
> > > broken, and we should disallow idle. I'm not quite sure what are the
> > > implications of that.
> > >
> > > I'd appreciate comments from the PM people =).
> >
> > This may be caused by one of the DPLLs going into autoidle. This can
> > involve a significant wakeup latency. I'd suggest looking at DPLL3, which
> > provides the DSS interface clock, and DPLL4, which can provide the DSS
> > functional clock.
> >
> > Could you try:
> >
> > 1. applying something like the patch at the bottom of this message and
> > seeing if it makes any difference?
> >
> > 2. if #1 does not work, changing the "dpll3" in the patch to "dpll4" ?
> >
> > 3. if #2 does not work, disabling autoidle on both dpll3 and dpll4?
>
> Disabling DPLL3 autoidle fixes the problem. Disabling DPLL4 autoidle
> doesn't affect the problem.
JFYI, I also tested changing DISPC's SYSCONFIG:CLOCKACTIVITY, which, to
me, sounds a bit related to dpll autoidle. By default it's 0, "interface
and functional clocks can be switched off". I tested the three other
values, but none of them had any effect.
Tomi
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-05-16 9:20 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-02 11:52 Problems with 3.4-rc5 Joe Woodward
2012-05-02 12:24 ` Archit Taneja
2012-05-02 12:46 ` Joe Woodward
2012-05-03 8:28 ` Tomi Valkeinen
2012-05-03 8:49 ` Joe Woodward
2012-05-03 10:02 ` Archit Taneja
2012-05-03 13:07 ` Tomi Valkeinen
2012-05-04 9:19 ` Joe Woodward
2012-05-04 13:50 ` Tomi Valkeinen
2012-05-04 14:01 ` Tomi Valkeinen
2012-05-04 14:09 ` Joe Woodward
2012-05-04 14:54 ` v3.4-rc4 DSS PM problem (Was: Re: Problems with 3.4-rc5) Tomi Valkeinen
2012-05-04 14:58 ` Tomi Valkeinen
2012-05-08 13:26 ` Tomi Valkeinen
2012-05-14 7:36 ` Joe Woodward
2012-05-14 7:55 ` Tomi Valkeinen
2012-05-14 22:48 ` Kevin Hilman
2012-05-15 7:28 ` Tomi Valkeinen
2012-05-15 17:29 ` Kevin Hilman
2012-05-15 17:55 ` Paul Walmsley
2012-05-16 9:08 ` Tomi Valkeinen
2012-05-16 9:20 ` Tomi Valkeinen [this message]
2012-05-24 16:19 ` Paul Walmsley
2012-05-16 10:09 ` Cousson, Benoit
2012-05-24 12:35 ` Tomi Valkeinen
2012-05-25 0:39 ` Paul Walmsley
2012-05-25 8:24 ` Tomi Valkeinen
2012-05-25 12:55 ` Jean Pihet
2012-06-12 10:15 ` Joe Woodward
2012-06-12 10:37 ` Tomi Valkeinen
2012-06-12 10:50 ` Joe Woodward
2012-06-12 11:05 ` 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=1337160001.7692.24.camel@deskari \
--to=tomi.valkeinen@ti.com \
--cc=a0393947@ti.com \
--cc=jw@terrafix.co.uk \
--cc=khilman@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.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).