linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: amba clcd clock/timing check mismatch
Date: Tue, 17 Aug 2010 00:31:49 +0100	[thread overview]
Message-ID: <20100816233149.GC10119@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <AANLkTinoLJeSTNxcMLZi6Q1AFCaGbXh2DsNEWZVa_u3b@mail.gmail.com>

On Mon, Aug 16, 2010 at 03:54:47PM -0700, Kevin Wells wrote:
> >From the include/linux/amba/clcd.h file, in the clcdfb_check() function...
> 
> #define CHECK(e,l,h) (var->e < l || var->e > h)
> 	if (CHECK(right_margin, (5+1), 256) ||	/* back porch */
> 	    CHECK(left_margin, (5+1), 256) ||	/* front porch */
> 	    CHECK(hsync_len, (5+1), 256) ||
> 	    var->xres > 4096 ||
> 
> These 4 checks don't match the actual values that can be
> generated by the CLCD controller. The minimum values for left
> and right horizontal porch and HSYNC width can go down to
> 1 clock.

Not quite - these restrictions deal with the restrictions for DMA
timing for STN panels as specified in the CLCD documentation -
clcdfb_check doesn't deal with the differences between STN and
active panels.

So it's not as simple as just reducing these down to allowing 1 clock
- that'd break STN panels.

> The maximum x resolution for the pl11x devices is 1024 pixels.

Yes, you seem to be right here.

  reply	other threads:[~2010-08-16 23:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-16 22:54 amba clcd clock/timing check mismatch Kevin Wells
2010-08-16 23:31 ` Russell King - ARM Linux [this message]
2010-08-17 17:27   ` Kevin Wells
2010-08-19  0:23     ` Kevin Wells
2010-08-19  9:06       ` Russell King - ARM Linux

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=20100816233149.GC10119@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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 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).