From: dmunsie@cecropia.com (Dennis Munsie)
To: linux-fbdev-devel@lists.sourceforge.net
Cc: ehustvedt@cecropia.com, airlied@skynet.ie
Subject: [PATCH 2.6.18-rc2] intelfb: fix vblank_end calculation
Date: Thu, 20 Jul 2006 12:24:49 -0400 (EDT) [thread overview]
Message-ID: <20060720162449.061B6118E23@xenon> (raw)
From: Dennis Munsie <dmunsie@cecropia.com>
Removes bad vblank_end calculation in favor of the correct one on the line
above. This makes the vblank_end now include both the upper and lower margin,
and the vsync. Before, the upper margin was not being included which caused
problems with DVI monitors. This patch shouldn't affect analog monitors,
but vertical adjustments may need to be made.
This now brings the vblank_end value to be consistent with what the BIOS is
setting when using VBE calls.
Signed-off-by: Dennis Munsie <dmunsie@cecropia.com>
---
drivers/video/intelfb/intelfbhw.c | 1 -
1 file changed, 1 deletion(-)
diff -Naurp -X linux-2.6.18-rc2-patched/Documentation/dontdiff linux-2.6.18-rc2-patched/drivers/video/intelfb/intelfbhw.c linux-2.6.18-rc2-debugging/drivers/video/intelfb/intelfbhw.c
--- linux-2.6.18-rc2-patched/drivers/video/intelfb/intelfbhw.c 2006-07-18 05:15:21.000000000 -0500
+++ linux-2.6.18-rc2-debugging/drivers/video/intelfb/intelfbhw.c 2006-07-20 03:39:52.000000000 -0500
@@ -1140,7 +1140,6 @@ intelfbhw_mode_to_hw(struct intelfb_info
vtotal = vsync_end + var->upper_margin;
vblank_start = vactive;
vblank_end = vtotal;
- vblank_end = vsync_end + 1;
DBG_MSG("V: act %d, ss %d, se %d, tot %d bs %d, be %d\n",
vactive, vsync_start, vsync_end, vtotal, vblank_start,
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
reply other threads:[~2006-07-20 16:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060720162449.061B6118E23@xenon \
--to=dmunsie@cecropia.com \
--cc=airlied@skynet.ie \
--cc=ehustvedt@cecropia.com \
--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).