diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-09-09 16:09:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 17:03:39 -0400 |
commit | 948a95ff5efb018d08d104c283081dba6472f801 (patch) | |
tree | 1929b8991b8ea9e93e56412f25d2d383e6cd374b /drivers | |
parent | 96fe6a2109db29cd15b90a093c16e6cb4b19371a (diff) |
[PATCH] 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.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/nvidia/nvidia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c index 32952204ce33..3620de0f252e 100644 --- a/drivers/video/nvidia/nvidia.c +++ b/drivers/video/nvidia/nvidia.c | |||
@@ -1328,7 +1328,7 @@ static int __devinit nvidia_set_fbinfo(struct fb_info *info) | |||
1328 | char buf[16]; | 1328 | char buf[16]; |
1329 | 1329 | ||
1330 | memset(buf, 0, 16); | 1330 | memset(buf, 0, 16); |
1331 | snprintf(buf, 15, "%dx%d", par->fpWidth, par->fpHeight); | 1331 | snprintf(buf, 15, "%dx%dMR", par->fpWidth, par->fpHeight); |
1332 | fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, | 1332 | fb_find_mode(&nvidiafb_default_var, info, buf, specs->modedb, |
1333 | specs->modedb_len, &modedb, 8); | 1333 | specs->modedb_len, &modedb, 8); |
1334 | } | 1334 | } |