From: Magnus Damm Date: Fri, 19 Dec 2008 06:34:50 +0000 (+0900) Subject: sh: enable deferred io LCDC on Migo-R X-Git-Tag: v2.6.29-rc1~591^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b5868e8cdeb35cd9ddc3a541f81f318b0f6772b3;p=linux-2.6-omap-h63xx.git sh: enable deferred io LCDC on Migo-R 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 Signed-off-by: Paul Mundt --- diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index 3e37fb25ef9..cc1408119c2 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c @@ -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