aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung
diff options
context:
space:
mode:
authorPawel Osciak <p.osciak@samsung.com>2010-08-10 21:02:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 11:59:10 -0400
commitefdc846d2f7190c8f3092c09975c0ebba30a95ba (patch)
tree23834f2ab4523b86c53f2a4f3b56834e8155dfb2 /arch/arm/plat-samsung
parent067b226b9e8e20463e0937344c93101ac8d8d2b1 (diff)
s3c-fb: add wait for VSYNC ioctl
Add VSYNC interrupt support and an ioctl that allows waiting for it. Interrupts are turned on only when needed. Signed-off-by: Pawel Osciak <p.osciak@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: InKi Dae <inki.dae@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r--arch/arm/plat-samsung/include/plat/regs-fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-fb.h b/arch/arm/plat-samsung/include/plat/regs-fb.h
index dbb6c0afef47..564594e89efe 100644
--- a/arch/arm/plat-samsung/include/plat/regs-fb.h
+++ b/arch/arm/plat-samsung/include/plat/regs-fb.h
@@ -300,6 +300,7 @@
300#define VIDINTCON0_FRAMESEL0_FRONTPORCH (0x3 << 15) 300#define VIDINTCON0_FRAMESEL0_FRONTPORCH (0x3 << 15)
301 301
302#define VIDINTCON0_FRAMESEL1 (1 << 13) 302#define VIDINTCON0_FRAMESEL1 (1 << 13)
303#define VIDINTCON0_FRAMESEL1_MASK (0x3 << 13)
303#define VIDINTCON0_FRAMESEL1_NONE (0x0 << 13) 304#define VIDINTCON0_FRAMESEL1_NONE (0x0 << 13)
304#define VIDINTCON0_FRAMESEL1_BACKPORCH (0x1 << 13) 305#define VIDINTCON0_FRAMESEL1_BACKPORCH (0x1 << 13)
305#define VIDINTCON0_FRAMESEL1_VSYNC (0x2 << 13) 306#define VIDINTCON0_FRAMESEL1_VSYNC (0x2 << 13)