diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | 614683faf8029100802db06a825648d0b6490285 (patch) | |
tree | 7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch | |
parent | 4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff) | |
download | upstream-614683faf8029100802db06a825648d0b6490285.tar.gz upstream-614683faf8029100802db06a825648d0b6490285.tar.bz2 upstream-614683faf8029100802db06a825648d0b6490285.zip |
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch b/target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch new file mode 100755 index 0000000000..2eb3f4635f --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.26/0108-fix-glamofb-cmdqueue-timeout.patch.patch @@ -0,0 +1,45 @@ +From 4ff23f7fca984270079de89abaca26e299a97b82 Mon Sep 17 00:00:00 2001 +From: Andy Green <andy@openmoko.com> +Date: Fri, 25 Jul 2008 23:06:04 +0100 +Subject: [PATCH] fix-glamofb-cmdqueue-timeout.patch + +loglevl=9 can cause failure to init glamo-fb +problem seems to be too low timeout when text scrolling can +delay commandqueue going empty + +Signed-off-by: Andy Green <andy@openmoko.com> +--- + drivers/mfd/glamo/glamo-fb.c | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c +index f0d7600..87c7420 100644 +--- a/drivers/mfd/glamo/glamo-fb.c ++++ b/drivers/mfd/glamo/glamo-fb.c +@@ -548,12 +548,13 @@ static int glamofb_cursor(struct fb_info *info, struct fb_cursor *cursor) + + static inline int glamofb_cmdq_empty(struct glamofb_handle *gfb) + { ++ /* DGCMdQempty -- 1 == command queue is empty */ + return reg_read(gfb, GLAMO_REG_LCD_STATUS1) & (1 << 15); + } + + void glamofb_cmd_mode(struct glamofb_handle *gfb, int on) + { +- int timeout = 2000; ++ int timeout = 20000; + + dev_dbg(gfb->dev, "glamofb_cmd_mode(gfb=%p, on=%d)\n", gfb, on); + if (on) { +@@ -605,7 +606,7 @@ EXPORT_SYMBOL_GPL(glamofb_cmd_mode); + + int glamofb_cmd_write(struct glamofb_handle *gfb, u_int16_t val) + { +- int timeout = 2000; ++ int timeout = 20000; + + dev_dbg(gfb->dev, "%s: waiting for cmdq empty\n", + __FUNCTION__); +-- +1.5.6.3 + |