[PATCH 9/9] gta01: Tweak pixclock to reduce flicker with cpufreq
Cesar Eduardo Barros
cesarb at cesarb.net
Wed Feb 13 02:24:37 CET 2008
Experimenting with a GTA01 showed pixclock values near 40000 (after the
rounding caused by the divider calculation) caused visible flicker. Values
near 20000 caused only a slight flicker, and the default value after rounding
with the default HCLK frequency of 133MHz is 30075.
Change the value to 35000 to make it stay in the range 17500-35000 and thus
reduce the flicker a bit.
Signed-off-by: Cesar Eduardo Barros <cesarb at cesarb.net>
---
arch/arm/mach-s3c2410/mach-gta01.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
index fa9ae48..ed4dcbf 100644
--- a/arch/arm/mach-s3c2410/mach-gta01.c
+++ b/arch/arm/mach-s3c2410/mach-gta01.c
@@ -287,7 +287,7 @@ static struct s3c2410fb_display gta01_displays[] = {
.yres = 640,
.bpp = 16,
- .pixclock = 40000, /* HCLK/4 */
+ .pixclock = 35000, /* HCLK/4 */
.left_margin = 104,
.right_margin = 8,
.hsync_len = 8,
@@ -309,7 +309,7 @@ static struct s3c2410fb_display gta01_displays[] = {
.yres = 640,
.bpp = 32,
- .pixclock = 40000, /* HCLK/4 */
+ .pixclock = 35000, /* HCLK/4 */
.left_margin = 104,
.right_margin = 8,
.hsync_len = 8,
@@ -331,7 +331,7 @@ static struct s3c2410fb_display gta01_displays[] = {
.yres = 320,
.bpp = 16,
- .pixclock = 40000, /* HCLK/4 */
+ .pixclock = 35000, /* HCLK/4 */
.left_margin = 104,
.right_margin = 8,
.hsync_len = 8,
--
1.5.4
More information about the openmoko-kernel
mailing list