Skip to contentSkip to conversation

nvidiafb: Use CVT to get mode for digital displays

PATCH In review Antonino A. Daplas 1 participant 1 message Sep 1, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 2/10 nvidiafb: Use CVT to get mode for digital displays

If no EDID block is probed, if the display is digital and if no mode option is specified by the user, get the timings by CVT instead of using the global mode database.

---
 nvidia.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/video/nvidia/nvidia.c +1 -1
@@ -1328,7 +1328,7 @@ static int __devinit nvidia_set_fbinfo(s
 		char buf[16];
 
 		memset(buf, 0, 16);
-		snprintf(buf, 15, "%dx%d", par->fpWidth, par->fpHeight);
+		snprintf(buf, 15, "%dx%dMR", par->fpWidth, par->fpHeight);
 		fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb,
 			     specs->modedb_len, &modedb, 8);
 	}

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf