]> git.baikalelectronics.ru Git - kernel.git/commit
viafb: remove duplicated clock information
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 9 Mar 2011 22:13:32 +0000 (22:13 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Sat, 12 Mar 2011 10:21:54 +0000 (10:21 +0000)
commit7fd74133ac8c3013e23eb475e6022c1ad6020f02
treec7c5ab11ee8a8c8be3a955b858483f752070abf4
parentd7d289b44615a50ac37dc956e43668d9b07d56b2
viafb: remove duplicated clock information

This patch removes the direct lookup table for resolution+refresh and
pixclock by calculating this information from the mode table. Removes a
lot of dupllication and error potential by just doing a little more
calculations on each mode change.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/via/hw.c
drivers/video/via/share.h
drivers/video/via/viamode.c
drivers/video/via/viamode.h