linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Martin Wilck <martin.wilck@fujitsu-siemens.com>
To: adaplas@pol.net, linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Default timings in vga16fb driver
Date: Thu, 25 Nov 2004 15:55:06 +0100	[thread overview]
Message-ID: <41A5F24A.4040804@fujitsu-siemens.com> (raw)
In-Reply-To: <200411250016.25813.adaplas@hotpop.com>

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

Antonino A. Daplas wrote:

> I don't think you overlooked anything. The default modeline of vga16fb
> should be corrected.

OK, so here's the patch (using the timings from /etc/fb.modes). Should I 
send it to linux-kernel, too?

Martin

-- 
Martin Wilck                Phone: +49 5251 8 15113
Fujitsu Siemens Computers   Fax:   +49 5251 8 20409
Heinz-Nixdorf-Ring 1        mailto:Martin.Wilck@Fujitsu-Siemens.com
D-33106 Paderborn           http://www.fujitsu-siemens.com/primergy


[-- Attachment #2: vga16.diff --]
[-- Type: text/x-patch, Size: 1008 bytes --]

Patch:	Fix default timings in vga16fb.c

Author: Martin Wilck <Martin.Wilck@Fujitsu-Siemens.com>
Signed-off-by: Martin Wilck <Martin.Wilck@Fujitsu-Siemens.com>

This patch adapts the timings of the default mode in vga16fb.c
to the 640x480-60 timings in /etc/fb.modes. 

In particular, the total screen height is fixed to be 525 pixels 
rather than 529. The height of 529 was causing trouble on some LCD displays.

(Note: To make the mode 100% identical to the one in /etc/fb.modes,
the pixclock must be set to 39722, too; I didn't want to do that here).

--- linux-2.6.5-7.111/drivers/video/vga16fb.c.orig	2004-11-25 15:38:11.000000000 +0100
+++ linux-2.6.5-7.111/drivers/video/vga16fb.c	2004-11-25 15:45:54.000000000 +0100
@@ -91,8 +91,8 @@ static struct fb_var_screeninfo vga16fb_
 	.pixclock	= 39721,
 	.left_margin	= 48,
 	.right_margin	= 16,
-	.upper_margin	= 39,
-	.lower_margin	= 8,
+	.upper_margin	= 33,
+	.lower_margin	= 10,
 	.hsync_len 	= 96,
 	.vsync_len	= 2,
 	.vmode		= FB_VMODE_NONINTERLACED,

  reply	other threads:[~2004-11-25 14:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-23 17:04 Default timings in vga16fb driver Martin Wilck
2004-11-24 16:16 ` Antonino A. Daplas
2004-11-25 14:55   ` Martin Wilck [this message]
2004-11-25 19:51     ` Antonino A. Daplas
2004-11-26  9:11       ` Geert Uytterhoeven
2004-11-27 14:53         ` FB_EVENT (blank and unblank?) Richard Purdie
2004-11-27 22:43           ` Antonino A. Daplas
2004-11-27 23:59             ` Richard Purdie
2004-11-28  0:24               ` Antonino A. Daplas
2004-11-28  0:59                 ` Richard Purdie
2004-11-28  1:14                   ` Antonino A. Daplas
2004-11-29 22:36                     ` fbdev: Add FB_EVENT_BLANK to notify listeners of a blanking status change Richard Purdie
2004-11-29 23:29                       ` Antonino A. Daplas
2004-11-29 10:53     ` cursor color changes ramprasad

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=41A5F24A.4040804@fujitsu-siemens.com \
    --to=martin.wilck@fujitsu-siemens.com \
    --cc=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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).