linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: linux-fbdev@vger.kernel.org
Subject: HDMI timing parameters problem
Date: Fri, 04 Jun 2010 15:27:15 +0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1006041332020.19386@axis700.grange> (raw)

Hi all

I'm trying to configure an HDMI controller on an ARM based SoC, and I 
cannot seem to find suitable values for blanking parameters.

The monitor EDID reports 1280x1024@108MHz:

H_ACTIVE = 1280
H_SYNC_OFFSET = 48
H_SYNC_WIDTH = 112
H_BLANKING = 408

V_ACTIVE = 1024
V_SYNC_OFFSET = 1
V_SYNC_WIDTH = 3
V_BLANKING = 42

The HDMI controller can be programmed in one of two modes: with a preset 
configuration or manually specifying each parameter. The only mode that 
somehow works up to now is the preset 1280x720@74.25MHz. With this mode 
the image on the monitor is stretched vertically, but it works. 
Unfortunately, the controller doesn't have any preset modes for 1280x1024 
or for anything close enough. So, I have to support manual geometry 
configuration. To reduce the number of required changes, as a first step, 
I'm trying to achieve the same result in manual mode, as I've got with 
preset, by programming 1280x720. For this I've chosen the following 
configuration:

	.xres = 1280,
	.yres = 720,
	.left_margin = 224,
	.right_margin = 104,
	.hsync_len = 40,
	.upper_margin = 20,
	.lower_margin = 5,
	.vsync_len = 5,

which is the same, as what I'm configuring my LCD controller 
with. This translates to

H_ACTIVE = 1280
H_SYNC_OFFSET = 104
H_SYNC_WIDTH = 40
H_BLANKING = 368

V_ACTIVE = 720
V_SYNC_OFFSET = 5
V_SYNC_WIDTH = 5
V_BLANKING = 30

With it the monitor recognises the signal, the LED goes green, but there's 
no image.

I've done a few more tests with various configurations, but so far with no 
success. Can anyone suggest how to debug this? How to find the proper 
video mode?

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/

             reply	other threads:[~2010-06-04 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 15:27 Guennadi Liakhovetski [this message]
2010-06-04 17:36 ` HDMI timing parameters problem Geert Uytterhoeven
2010-06-04 19:54 ` Guennadi Liakhovetski
2010-06-04 20:54 ` Geert Uytterhoeven

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=Pine.LNX.4.64.1006041332020.19386@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=linux-fbdev@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 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).