diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2005-11-07 10:00:54 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 16:53:53 +0100 |
commit | 003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8 (patch) | |
tree | 71095d3b794a6d6294b898a496c8a4e8664066bf /drivers/video/savage/savagefb_driver.c | |
parent | [PATCH] fbdev: Rearrange mode database entries (diff) | |
download | linux-003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8.tar.xz linux-003cfc0c56977f1c3ce48ddfd2073b7c6d75a5d8.zip |
[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 <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/savage/savagefb_driver.c')
0 files changed, 0 insertions, 0 deletions