From: Michal Januszewski Date: Tue, 16 Oct 2007 08:29:19 +0000 (-0700) Subject: fbdev: find mode with the highest/safest refresh rate in fb_find_mode() X-Git-Tag: v2.6.24-rc1~893 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5dd170927b1aa8e3a01d43d611b840336cdaf2;p=pandora-kernel.git 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 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed