[PATCH 2/3] glamo: raise frame rate to 60Hz

Chia-I Wu olv at openmoko.com
Mon Oct 1 15:58:36 CEST 2007


Current DCLK ratio is 3:1, which gives about 40Hz frame rate.  Set the ratio to
2:1.
---
 drivers/video/glamo/glamo-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/glamo/glamo-core.c b/drivers/video/glamo/glamo-core.c
index b6bdd3f..3a53e00 100644
--- a/drivers/video/glamo/glamo-core.c
+++ b/drivers/video/glamo/glamo-core.c
@@ -555,7 +555,7 @@ static struct glamo_script glamo_init_script[] = {
 		{ 0xfffe, 300 },
 	{ GLAMO_REG_IRQ_ENABLE,		0xffff },
 	{ GLAMO_REG_CLOCK_GEN6,		0x2000 },
-	{ GLAMO_REG_CLOCK_GEN7,		0x0102 },
+	{ GLAMO_REG_CLOCK_GEN7,		0x0101 },
 	{ GLAMO_REG_CLOCK_GEN8,		0x0100 },
 	{ GLAMO_REG_CLOCK_HOST,		0x000d },
 	{ 0x200,	0x0ef0 },
-- 
1.5.3.1





More information about the openmoko-kernel mailing list