linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomi Valkeinen <tomi.valkeinen@ti.com>
To: Enric Balletbo Serra <eballetbo@gmail.com>
Cc: linux-omap@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
	Javier Martinez Canillas <javier@dowhile0.org>
Subject: Re: omap DSS fails with tft410 driver panel?
Date: Fri, 12 Oct 2012 13:56:49 +0300	[thread overview]
Message-ID: <5077F771.9080308@ti.com> (raw)
In-Reply-To: <CAFqH_50PVJdbX0CMwo9t3RuAhzi3q6jcBwzq2R3UFighkrF7iw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1499 bytes --]

On 2012-10-11 18:58, Enric Balletbo Serra wrote:
> Hi all,
> 
> I see that commit dac8eb5f (OMAPDSS: TFP410: rename dvi files to
> tfp410) and commit 2e6f2ee7 (OMAPDSS: TFP410: rename dvi -> tfp410)
> changes the panel driver used on some boards. I tested current
> linux-next-20101011 kernel with my IGEPv2 board and DSS fails with
> following error (see http://pastebin.com/VjPGCQDt for full log) :
> 
>    [   21.222808] omapdss OVERLAY error: check_overlay: paddr cannot be 0
>    [   21.229583] omapdss OVERLAY error: check_overlay: paddr cannot be 0
>    [   21.236236] omapfb omapfb: setup_plane failed
> 
> Before checking what happens there is a known issue with this ?

Works fine for me, although only with a quite minimal test environment.

Looking at the log, it looks to me that your userspace is trying to
configure the overlays, and that somehow leads to the driver getting
zero as the fb address.

I'm guessing that some wrong value is passed when configuring, or
missing some step in configuring. However, It should be the omapfb that
rejects configuration that would lead to paddr == 0, not omapdss, so
there's definitely bug in the error handling of omapfb.

Can you tell me more what's going on there? I presume the error happens
when booting? What userspace component is using omapfb in your setup? X?

If you can, put some debug prints into omapfb-ioctl.c:omapfb_setup_plane
to see what code path it takes, and where it goes wrong.

 Tomi



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 897 bytes --]

  reply	other threads:[~2012-10-12 10:56 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 15:58 omap DSS fails with tft410 driver panel? Enric Balletbo Serra
2012-10-12 10:56 ` Tomi Valkeinen [this message]
2012-10-15 16:08   ` Enric Balletbo Serra
2012-10-16  7:30     ` Tomi Valkeinen
2012-11-22  0:08 ` Steve Sakoman
2012-11-22  8:47   ` Tomi Valkeinen
2012-11-23  6:14     ` Steve Sakoman
2012-11-23  8:46       ` Tomi Valkeinen
2012-11-23 15:20         ` Steve Sakoman
2012-11-27 11:32           ` Tomi Valkeinen
2012-11-27 19:15             ` Steve Sakoman
2012-11-29 11:22               ` Tomi Valkeinen
2012-11-29 11:33                 ` Enric Balletbo Serra
2012-11-29 14:24                   ` Steve Sakoman
2012-11-29 14:30                     ` Enric Balletbo Serra
2012-11-29 14:18                 ` Steve Sakoman
2012-11-29 14:31                   ` Tomi Valkeinen
2012-11-29 14:53                     ` Steve Sakoman
2012-11-29 14:56                       ` Tomi Valkeinen
2012-12-18  8:31                         ` Javier Martinez Canillas
2012-12-18 11:23                           ` Javier Martinez Canillas
2012-12-18 13:45                             ` Javier Martinez Canillas
2012-12-19  8:33                               ` Tomi Valkeinen
2012-12-19 11:27                                 ` Javier Martinez Canillas
2012-12-19  8:24                           ` Tomi Valkeinen
2012-12-21  8:30   ` Laurent Pinchart
2012-12-21 10:19     ` Javier Martinez Canillas
2013-09-12 11:12       ` pawel cern

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=5077F771.9080308@ti.com \
    --to=tomi.valkeinen@ti.com \
    --cc=eballetbo@gmail.com \
    --cc=javier@dowhile0.org \
    --cc=linux-omap@vger.kernel.org \
    --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).