1
linux/drivers
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
..
acorn [ARM] Turn ARM RiscPC PCF8583 i2c RTC driver into a proper module 2005-10-30 19:07:59 +00:00
acpi [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
atm [PATCH] gfp flags annotations - part 1 2005-10-08 15:00:57 -07:00
base [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
block [PATCH] as: cooperating processes 2005-11-07 07:53:43 -08:00
bluetooth [Bluetooth] Ignore additional interfaces of BPA 100/105 devices 2005-10-28 19:20:57 +02:00
cdrom merge filename and modify references to iseries/vio.h 2005-11-02 15:13:57 +11:00
char [PATCH] ipmi: fix watchdog timeout panic handling 2005-11-07 07:53:45 -08:00
connector [PATCH] Process Events Connector 2005-11-07 07:53:35 -08:00
cpufreq [PATCH] create and destroy cpufreq sysfs entries based on cpu notifiers 2005-10-30 17:37:14 -08:00
crypto [PATCH] CONFIG_IA32 2005-10-30 17:37:10 -08:00
dio
eisa Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
fc4
firmware [PATCH] dell_rbu: Adding BIOS memory floor support 2005-11-07 07:53:36 -08:00
hwmon [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
i2c Merge master.kernel.org:/home/rmk/linux-2.6-arm 2005-11-01 21:32:14 -08:00
ide Merge ../linux-2.6 by hand 2005-10-31 13:37:12 +11:00
ieee1394 Merge ../bleed-2.6 2005-10-28 10:13:16 -07:00
infiniband [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
input [PATCH] i386: CONFIG_PC removal 2005-10-31 09:20:54 -08:00
isdn [PATCH] i4l: update hfc_usb driver 2005-11-07 07:53:47 -08:00
macintosh Merge ../linux-2.6 2005-11-02 15:20:55 +11:00
mca [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
md [BLOCK] Unify the seperate read/write io stat fields into arrays 2005-11-01 09:26:16 +01:00
media [PATCH] prevent dmesg warning in zr36067 driver 2005-11-07 07:53:47 -08:00
message [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
mfd [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
misc Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
mmc [MMC] Use controller id instead of driver name for printks 2005-11-05 10:36:35 +00:00
mtd Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
net [PATCH] 3c59x: don't enable scatter/gather w/o checksum support 2005-11-07 07:53:25 -08:00
nubus
oprofile
parisc Auto-update from upstream 2005-10-28 12:18:07 -04:00
parport [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
pci [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
pcmcia Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
pnp [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
rapidio [PATCH] rapidio: message interface updates 2005-11-07 07:53:47 -08:00
s390 [PATCH] s390: fix memory leak in vmcp 2005-11-07 07:53:34 -08:00
sbus
scsi [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
serial [PATCH] serial console: touch NMI watchdog 2005-11-07 07:53:35 -08:00
sh [PATCH] superhyway: multiple block support and VCR rework 2005-11-07 07:53:28 -08:00
sn
tc Use physical addresses at the interface level, letting drivers remap 2005-10-29 19:31:35 +01:00
telephony
usb [USB]: Make early handoff a final fixup instead of a header one. 2005-11-04 11:17:24 -08:00
video [PATCH] fbdev: fix the fb_find_nearest_mode() function 2005-11-07 07:53:52 -08:00
w1 [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
zorro [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
Kconfig
Makefile [PATCH] RapidIO support: core base 2005-11-07 07:53:46 -08:00