[PATCH] Better PLL frequency matching for tdfxfb driver

2005-04-21 Thread Richard Drummond
Attached is a patch against 2.6.11.7 which improves the PLL frequency matching in the tdfxfb driver. Instead of requiring 64260 iterations to obtain the closest supported PLL frequency, this code does it with the same degree of accuracy in at most 768 iterations. Signed-off-by: Richard

[PATCH] Better PLL frequency matching for tdfxfb driver

2005-04-21 Thread Richard Drummond
Attached is a patch against 2.6.11.7 which improves the PLL frequency matching in the tdfxfb driver. Instead of requiring 64260 iterations to obtain the closest supported PLL frequency, this code does it with the same degree of accuracy in at most 768 iterations. Signed-off-by: Richard