From: Antonino A. Daplas Date: Mon, 7 Nov 2005 09:00:54 +0000 (-0800) Subject: [PATCH] fbdev: Add helper to get an appropriate initial mode X-Git-Tag: v2.6.15-rc1~536 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8;p=pandora-kernel.git [PATCH] fbdev: Add helper to get an appropriate initial mode Add new helper, fb_find_best_display(), which will search the modelist for the best mode for the attached display. This requires an EDID block that is converted to struct fb_monspecs and a private modelist. The search will be done in this manner: - if 1st detailed timing is preferred, use that - else if dimensions of the display are known, use that to estimate xres and - else if modelist has detailed timings, use the first detailed timing - else, use the very first entry from the modelist Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed