https://github.com/torvalds/linux
Revision e504b84805c574cf18d705c610c9e4a8f6e61017 authored by Andrew Kephart on 13 December 2010, 15:46:34 UTC, committed by Paul Mundt on 14 December 2010, 09:03:49 UTC
Refresh rate nearness is not calculated or reset when nearest resolution
changes.

This patch resets the refresh rate differential measurement whenever a
new nearest resolution is discovered.  This fixes two error cases;
first, wherein the first mode's refresh rate differential is never
calculated and second, when the closest refresh rate from a previous
nearest resolution is erroneously preserved.

Signed-off-by: Andrew Kephart <andrew.kephart@alereon.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
1 parent 6313e3c
History
Tip revision: e504b84805c574cf18d705c610c9e4a8f6e61017 authored by Andrew Kephart on 13 December 2010, 15:46:34 UTC
fbdev: Fix fb_find_nearest_mode refresh comparison
Tip revision: e504b84
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.4 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top