* [PATCH 1/7] uvesafb: set the refresh rate to 60Hz if nocrtc is used
@ 2007-08-11 14:38 Michal Januszewski
0 siblings, 0 replies; only message in thread
From: Michal Januszewski @ 2007-08-11 14:38 UTC (permalink / raw)
To: linux-fbdev-devel; +Cc: linux-kernel
If the nocrtc flag is set, make sure the timings in fb_var are set to
60Hz and thus reflect the default BIOS refresh rate that is being
used.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
---
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index 9c21791..aa5a9c3 100644
--- a/drivers/video/uvesafb.c
+++ b/drivers/video/uvesafb.c
@@ -903,7 +903,7 @@ gotmode:
* If we are not VBE3.0+ compliant, we're done -- the BIOS will
* ignore our timings anyway.
*/
- if (par->vbe_ib.vbe_version < 0x0300)
+ if (par->vbe_ib.vbe_version < 0x0300 || par->nocrtc)
fb_get_mode(FB_VSYNCTIMINGS | FB_IGNOREMON, 60,
&info->var, info);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-11 14:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-11 14:38 [PATCH 1/7] uvesafb: set the refresh rate to 60Hz if nocrtc is used Michal Januszewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®