linux/drivers/video/console
Michal Januszewski 8fb6567e34 [PATCH] fbdev: fix the fb_find_nearest_mode() function
Currently the fb_find_nearest_mode() function finds a mode with screen
resolution closest to that described by the 'var' argument and with some
arbitrary refresh rate (eg.  in the following sequence of refresh rates: 70 60
53 85 75, 53 is selected).

This patch fixes the function so that it looks for the closest mode as far as
both resolution and refresh rate are concerned.  The function's first argument
is changed to fb_videomode so that the refresh rate can be specified by the
caller, as fb_var_screeninfo doesn't have any fields that could directly hold
this data.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-11-07 07:53:52 -08:00
..
bitblit.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
dummycon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fbcon.c [PATCH] fbdev: fix the fb_find_nearest_mode() function 2005-11-07 07:53:52 -08:00
fbcon.h [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
font_6x11.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
Kconfig [PATCH] framebuffer: add some help text in Kconfig 2005-11-07 07:53:49 -08:00
Makefile [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
mdacon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
newport_con.c Fix build error caused by missmatching duplicate declaration. 2005-10-29 19:32:31 +01:00
prom.uni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
promcon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
softcursor.c [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
sticon.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sticore.c [PARISC] Reorganize sticore probe routine to be a little less convoluted 2005-10-21 22:41:49 -04:00
tileblit.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vgacon.c [PATCH] Set the vga cursor even when hidden 2005-11-05 13:30:03 -08:00