summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/ps3fb.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2007-02-12 09:55:25 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 18:48:44 +0100
commit0465f790e06d6dbc07d9b569b74ee8154dfca280 (patch)
treef494cad79e5515251b0c69f9c2a7a104c0c18bf7 /include/asm-powerpc/ps3fb.h
parent[PATCH] ps3: Virtual Frame Buffer Driver (diff)
downloadlinux-0465f790e06d6dbc07d9b569b74ee8154dfca280.tar.xz
linux-0465f790e06d6dbc07d9b569b74ee8154dfca280.zip
[PATCH] ps3: disable display flipping during mode changes
If ps3fb is available, we have to disable display flipping while changing the audio or video mode. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Cc: James Simmons <jsimmons@infradead.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--include/asm-powerpc/ps3fb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3fb.h b/include/asm-powerpc/ps3fb.h
index 3f121fe4010d..8933adf535b8 100644
--- a/include/asm-powerpc/ps3fb.h
+++ b/include/asm-powerpc/ps3fb.h
@@ -41,4 +41,14 @@ struct ps3fb_ioctl_res {
__u32 num_frames; /* num of frame buffers */
};
+#ifdef __KERNEL__
+
+#ifdef CONFIG_FB_PS3
+extern void ps3fb_flip_ctl(int on);
+#else
+static inline void ps3fb_flip_ctl(int on) {}
+#endif
+
+#endif /* __KERNEL__ */
+
#endif /* _ASM_POWERPC_PS3FB_H_ */