From 1c5dd170927b1aa8e3a01d43d611b840336cdaf2 Mon Sep 17 00:00:00 2001 From: Michal Januszewski Date: Tue, 16 Oct 2007 01:29:19 -0700 Subject: [PATCH] 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-format-patch failed