]> git.baikalelectronics.ru Git - kernel.git/commit
viafb: allow some pll calculations
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 21 Mar 2011 13:28:26 +0000 (13:28 +0000)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 23 Mar 2011 13:01:37 +0000 (13:01 +0000)
commitd7e8024d09c331b0d6b2c513d467aa576b2bedcf
tree5e2488ab57cd5f02a1cef53f1458c18e1396458e
parent7f07b66a48d44841ecde96c26eaaac8eef45be80
viafb: allow some pll calculations

This patch allows calculating the pll multiplier within limits based
on the previous table. All available information supports that it
should be possible/sane to choose the multiplier free within some
ranges.
Storing the multiplier ranges instead of lots of pll configurations
reduces the memory needed and may as well improve the performance.
It is also expected to provide better pll values resulting in better
frequencies for the connected devices.

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