]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh: enable deferred io LCDC on Migo-R
authorMagnus Damm <damm@igel.co.jp>
Fri, 19 Dec 2008 06:34:50 +0000 (15:34 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:49 +0000 (18:44 +0900)
Enable LCDC deferred io on Migo-R using 1s delay.

As with other deferred io frame buffers user space code should
use fsync() on the frame buffer device to trigger an update.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-migor/setup.c

index 3e37fb25ef92813a5095c4f57af2ad5c13baee97..cc1408119c243bd5e4c5f3035ab9a2e0d83732a5 100644 (file)
@@ -262,6 +262,8 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc_info = {
                .sys_bus_cfg = {
                        .ldmt2r = 0x06000a09,
                        .ldmt3r = 0x180e3418,
+                       /* set 1s delay to encourage fsync() */
+                       .deferred_io_msec = 1000,
                },
        }
 #endif