All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Ville Syrjälä" <ville.syrjala@nokia.com>
To: "ext Hiremath, Vaibhav" <hvaibhav@ti.com>
Cc: "Valkeinen Tomi (Nokia-D/Helsinki)" <Tomi.Valkeinen@nokia.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] OMAP: DSS2: GFX FIFO UNDERFLOW issue fixed
Date: Tue, 4 May 2010 16:45:07 +0300	[thread overview]
Message-ID: <20100504134507.GJ8310@nokia.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E7394044E3516FE@dbde02.ent.ti.com>

On Tue, May 04, 2010 at 03:23:10PM +0200, ext Hiremath, Vaibhav wrote:
> 
> > -----Original Message-----
> > From: Tomi Valkeinen [mailto:tomi.valkeinen@nokia.com]
> > Sent: Wednesday, April 21, 2010 4:40 PM
> > To: Hiremath, Vaibhav
> > Cc: linux-omap@vger.kernel.org
> > Subject: RE: [PATCH] OMAP: DSS2: GFX FIFO UNDERFLOW issue fixed
> > 
> > On Wed, 2010-04-21 at 12:45 +0200, ext Hiremath, Vaibhav wrote:
> > > > -----Original Message-----
> > > > From: linux-omap-owner@vger.kernel.org [mailto:linux-omap-
> > > > owner@vger.kernel.org] On Behalf Of Hiremath, Vaibhav
> > > > Sent: Friday, April 16, 2010 4:28 PM
> > > > To: Tomi Valkeinen
> > > > Cc: linux-omap@vger.kernel.org
> > > > Subject: RE: [PATCH] OMAP: DSS2: GFX FIFO UNDERFLOW issue fixed
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Tomi Valkeinen [mailto:tomi.valkeinen@nokia.com]
> > > > > Sent: Friday, April 16, 2010 3:08 PM
> > > > > To: Hiremath, Vaibhav
> > > > > Cc: linux-omap@vger.kernel.org
> > > > > Subject: Re: [PATCH] OMAP: DSS2: GFX FIFO UNDERFLOW issue fixed
> > > > >
> > > > > On Mon, 2010-03-22 at 14:09 +0100, ext hvaibhav@ti.com wrote:
> > > > > > From: Vaibhav Hiremath <hvaibhav@ti.com>
> > > > > >
> > > > > > In case of 720P with 90/270 degree rotation, the system reports
> > > > > > GFX_FIFO_UNDERFLOW error which usually happens if DSS DMA is not
> > able to
> > > > > fill
> > > > > > the FIFO as per requirement.
> > > > > >
> > > > > > In TRM (section 11.2.6.1.3), where is has been clearly mentioned
> > that,
> > > > > >
> > > > > > "To improve the performance on 90 degree rotation, split the data
> > access
> > > > > on
> > > > > > write side and not read side."
> > > > > >
> > > > > > That means, read should always happen on 0 degree and write should
> > go to
> > > > > > respective rotation view.
> > > > > >
> > > > >
> > > > > With this patch my db test app (from
> > > > > git://gitorious.org/linux-omap-dss2/omapfb-tests.git) shows a lot of
> > > > > tearing when rotation != 0. I tested this on 3430SDP using the LCD.
> > > [Hiremath, Vaibhav] Tomi,
> > >
> > > Yes, just now I tried your db application and I am also seeing tearing
> > effect. All other apps (including the one which I used for testing) works
> > fine for other rotation angles.
> > >
> > > Let me debug further before commenting anything on this, I just thought of
> > updating you on this.
> > 
> > "db" app uses double buffering for updating the display, with maximum
> > update rate. There's also "pan" app, that does a bit similar thing using
> > fb offsets.
> [Hiremath, Vaibhav] Tomi,
> 
> I found the bug which is causing tearing effect, I tested it here with both, mine and your applications and for me it is working fine.
> 
> Can you please check at your end?
> (Sorry for the attachment)

You should really avoid that. I can't quote the patch.

What are those CW<->CCW swaps that you do in the patch?

Also I think the ioremap stuff is a bit broken since AFAICS it will
leave the old angle still mapped when you rotate to another angle.

-- 
Ville Syrjälä
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-05-04 13:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-22 13:09 [PATCH] OMAP: DSS2: GFX FIFO UNDERFLOW issue fixed hvaibhav
2010-03-30  8:09 ` Hiremath, Vaibhav
2010-04-01 13:42 ` Tomi Valkeinen
2010-04-12 11:47   ` Hiremath, Vaibhav
2010-04-12 12:02     ` Tomi Valkeinen
2010-04-12 13:42       ` Hiremath, Vaibhav
2010-04-16  9:37 ` Tomi Valkeinen
2010-04-16 10:57   ` Hiremath, Vaibhav
2010-04-21 10:45     ` Hiremath, Vaibhav
2010-04-21 11:09       ` Tomi Valkeinen
2010-04-21 11:50         ` Hiremath, Vaibhav
2010-04-21 14:06         ` Hiremath, Vaibhav
2010-05-04 13:23         ` Hiremath, Vaibhav
2010-05-04 13:45           ` Ville Syrjälä [this message]
2010-05-05  6:01             ` Hiremath, Vaibhav

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=20100504134507.GJ8310@nokia.com \
    --to=ville.syrjala@nokia.com \
    --cc=Tomi.Valkeinen@nokia.com \
    --cc=hvaibhav@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /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.