diff options
author | Michal Januszewski <spock@gentoo.org> | 2007-10-16 04:29:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:18 -0400 |
commit | 1c5dd170927b1aa8e3a01d43d611b840336cdaf2 (patch) | |
tree | 15db224cfc06d552cb667bde503cafd90631fa0b /drivers/video/nvidia | |
parent | 10b98368a0a94b015c1a596b7a02eff447a65226 (diff) |
fbdev: find mode with the highest/safest refresh rate in fb_find_mode()
Currently, if the refresh rate is not specified, fb_find_mode() returns the
first known video mode with the requested resolution, which provides no
guarantees wrt the refresh rate. Change this so that the mode with the
highest refresh rate is returned when the driver provides a custom video mode
database and the monitor limits, and a mode with the safe 60 Hz refresh rate
otherwise.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/nvidia')
0 files changed, 0 insertions, 0 deletions