diff options
author | Jens Rottmann <JRottmann@LiPPERT-AT.de> | 2008-05-14 19:05:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-05-14 22:11:13 -0400 |
commit | 82f55af06af3d9c478292281ac37b48d2c43741e (patch) | |
tree | 430df5946f2521abac65622940d1ef8f4f9cb8ee /drivers/video/geode | |
parent | 8b8b498836942c0c855333d357d121c0adeefbd9 (diff) |
fix "lxfb: extend PLL table to support dotclocks below 25 MHz"
The following patch caused a regression with OLPC panels:
commit 3888d4639e78802c4ec1086127124e890461b9e4
lxfb: extend PLL table to support dotclocks below 25 MHz
Extends the PLL frequency table of the AMD Geode-LX frame buffer driver to
make use of the DIV4 bit, thus adding support for dotclocks between 6 and 25
MHz. These are needed for small LCDs (e.g. 320x240). Also inserts some
intermediate steps between pre-existing frequencies.
The problem was the insertion of intermediate steps into the frequency
table; they would cause the wrong frequency to be matched. This patch
drops those intermediate frequencies while keeping the sub-25MHz
frequencies.
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Jens Rottmann <JRottmann@LiPPERT-AT.de>
Tested-by: Andres Salomon <dilinger@debian.org>
Acked-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/geode')
-rw-r--r-- | drivers/video/geode/lxfb_ops.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/video/geode/lxfb_ops.c b/drivers/video/geode/lxfb_ops.c index cd9d4cc26954..aaef9165ec9b 100644 --- a/drivers/video/geode/lxfb_ops.c +++ b/drivers/video/geode/lxfb_ops.c | |||
@@ -63,54 +63,32 @@ static const struct { | |||
63 | { 0x00014284, 19688 }, | 63 | { 0x00014284, 19688 }, |
64 | { 0x00011104, 20400 }, | 64 | { 0x00011104, 20400 }, |
65 | { 0x00016363, 23625 }, | 65 | { 0x00016363, 23625 }, |
66 | { 0x00015303, 24380 }, | ||
67 | { 0x000031AC, 24923 }, | 66 | { 0x000031AC, 24923 }, |
68 | { 0x0000215D, 25175 }, | 67 | { 0x0000215D, 25175 }, |
69 | { 0x00001087, 27000 }, | 68 | { 0x00001087, 27000 }, |
70 | { 0x0000216C, 28322 }, | 69 | { 0x0000216C, 28322 }, |
71 | { 0x0000218D, 28560 }, | 70 | { 0x0000218D, 28560 }, |
72 | { 0x00010041, 29913 }, | ||
73 | { 0x000010C9, 31200 }, | 71 | { 0x000010C9, 31200 }, |
74 | { 0x00003147, 31500 }, | 72 | { 0x00003147, 31500 }, |
75 | { 0x000141A1, 32400 }, | ||
76 | { 0x000010A7, 33032 }, | 73 | { 0x000010A7, 33032 }, |
77 | { 0x00012182, 33375 }, | ||
78 | { 0x000141B1, 33750 }, | ||
79 | { 0x00002159, 35112 }, | 74 | { 0x00002159, 35112 }, |
80 | { 0x00004249, 35500 }, | 75 | { 0x00004249, 35500 }, |
81 | { 0x00000057, 36000 }, | 76 | { 0x00000057, 36000 }, |
82 | { 0x000141E1, 37125 }, | ||
83 | { 0x0000219A, 37889 }, | 77 | { 0x0000219A, 37889 }, |
84 | { 0x00002158, 39168 }, | 78 | { 0x00002158, 39168 }, |
85 | { 0x00000045, 40000 }, | 79 | { 0x00000045, 40000 }, |
86 | { 0x000131A1, 40500 }, | ||
87 | { 0x00010061, 42301 }, | ||
88 | { 0x00000089, 43163 }, | 80 | { 0x00000089, 43163 }, |
89 | { 0x00012151, 43875 }, | ||
90 | { 0x000010E7, 44900 }, | 81 | { 0x000010E7, 44900 }, |
91 | { 0x00002136, 45720 }, | 82 | { 0x00002136, 45720 }, |
92 | { 0x000152E1, 47250 }, | ||
93 | { 0x00010071, 48000 }, | ||
94 | { 0x00003207, 49500 }, | 83 | { 0x00003207, 49500 }, |
95 | { 0x00002187, 50000 }, | 84 | { 0x00002187, 50000 }, |
96 | { 0x00014291, 50625 }, | ||
97 | { 0x00011101, 51188 }, | ||
98 | { 0x00017481, 54563 }, | ||
99 | { 0x00004286, 56250 }, | 85 | { 0x00004286, 56250 }, |
100 | { 0x00014170, 57375 }, | ||
101 | { 0x00016210, 58500 }, | ||
102 | { 0x000010E5, 60065 }, | 86 | { 0x000010E5, 60065 }, |
103 | { 0x00013140, 62796 }, | ||
104 | { 0x00004214, 65000 }, | 87 | { 0x00004214, 65000 }, |
105 | { 0x00016250, 65250 }, | ||
106 | { 0x00001105, 68179 }, | 88 | { 0x00001105, 68179 }, |
107 | { 0x000141C0, 69600 }, | ||
108 | { 0x00015220, 70160 }, | ||
109 | { 0x00010050, 72000 }, | ||
110 | { 0x000031E4, 74250 }, | 89 | { 0x000031E4, 74250 }, |
111 | { 0x00003183, 75000 }, | 90 | { 0x00003183, 75000 }, |
112 | { 0x00004284, 78750 }, | 91 | { 0x00004284, 78750 }, |
113 | { 0x00012130, 80052 }, | ||
114 | { 0x00001104, 81600 }, | 92 | { 0x00001104, 81600 }, |
115 | { 0x00006363, 94500 }, | 93 | { 0x00006363, 94500 }, |
116 | { 0x00005303, 97520 }, | 94 | { 0x00005303, 97520 }, |