mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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>
This commit is contained in:
parent
310d8c1112
commit
0465f790e0
2 changed files with 14 additions and 1 deletions
|
|
@ -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_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue