summaryrefslogtreecommitdiffstats
path: root/drivers/video/cfbfillrect.c
diff options
context:
space:
mode:
authorMichal Januszewski <spock@gentoo.org>2007-10-16 10:29:19 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 18:43:18 +0200
commit1c5dd170927b1aa8e3a01d43d611b840336cdaf2 (patch)
tree15db224cfc06d552cb667bde503cafd90631fa0b /drivers/video/cfbfillrect.c
parentIntel FB: support for interlaced video modes (diff)
downloadlinux-1c5dd170927b1aa8e3a01d43d611b840336cdaf2.tar.xz
linux-1c5dd170927b1aa8e3a01d43d611b840336cdaf2.zip
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/cfbfillrect.c')
0 files changed, 0 insertions, 0 deletions