diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-02-12 03:55:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:44 -0500 |
commit | 0465f790e06d6dbc07d9b569b74ee8154dfca280 (patch) | |
tree | f494cad79e5515251b0c69f9c2a7a104c0c18bf7 /include/asm-powerpc/ps3fb.h | |
parent | 310d8c11126d21e417206c874c6382c44ece1baa (diff) |
[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 'include/asm-powerpc/ps3fb.h')
-rw-r--r-- | include/asm-powerpc/ps3fb.h | 10 |
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 { | |||
41 | __u32 num_frames; /* num of frame buffers */ | 41 | __u32 num_frames; /* num of frame buffers */ |
42 | }; | 42 | }; |
43 | 43 | ||
44 | #ifdef __KERNEL__ | ||
45 | |||
46 | #ifdef CONFIG_FB_PS3 | ||
47 | extern void ps3fb_flip_ctl(int on); | ||
48 | #else | ||
49 | static inline void ps3fb_flip_ctl(int on) {} | ||
50 | #endif | ||
51 | |||
52 | #endif /* __KERNEL__ */ | ||
53 | |||
44 | #endif /* _ASM_POWERPC_PS3FB_H_ */ | 54 | #endif /* _ASM_POWERPC_PS3FB_H_ */ |