Skip to contentSkip to conversation

uvesafb: set the refresh rate to 60Hz if nocrtc is used

PATCH New Michal Januszewski 1 participant 1 message Aug 11, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 uvesafb: set the refresh rate to 60Hz if nocrtc is used

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.

---

drivers/video/uvesafb.c +1 -1
index 9c21791..aa5a9c3 100644
@@ -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);
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/