The patch titled ps3: disable display flipping during mode changes has been added to the -mm tree. Its filename is ps3-disable-display-flipping-during-mode-changes.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: ps3: disable display flipping during mode changes From: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> If ps3fb is available, we have to disable display flipping while changing the audio or video mode. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@xxxxxxxxxxx> Cc: James Simmons <jsimmons@xxxxxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ps3/ps3av_cmd.c | 5 ++++- include/asm-powerpc/ps3fb.h | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff -puN drivers/ps3/ps3av_cmd.c~ps3-disable-display-flipping-during-mode-changes drivers/ps3/ps3av_cmd.c --- a/drivers/ps3/ps3av_cmd.c~ps3-disable-display-flipping-during-mode-changes +++ a/drivers/ps3/ps3av_cmd.c @@ -22,6 +22,7 @@ #include <linux/kernel.h> #include <linux/delay.h> #include <asm/ps3av.h> +#include <asm/ps3fb.h> #include <asm/ps3.h> #include "vuart.h" @@ -851,8 +852,9 @@ int ps3av_cmd_avb_param(struct ps3av_pkt { int res; - /* avb packet */ + ps3fb_flip_ctl(0); /* flip off */ + /* avb packet */ res = ps3av_do_pkt(PS3AV_CID_AVB_PARAM, send_len, sizeof(*avb), &avb->send_hdr); if (res < 0) @@ -864,6 +866,7 @@ int ps3av_cmd_avb_param(struct ps3av_pkt res); out: + ps3fb_flip_ctl(1); /* flip on */ return res; } diff -puN include/asm-powerpc/ps3fb.h~ps3-disable-display-flipping-during-mode-changes include/asm-powerpc/ps3fb.h --- a/include/asm-powerpc/ps3fb.h~ps3-disable-display-flipping-during-mode-changes +++ a/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_ */ _ Patches currently in -mm which might be from Geert.Uytterhoeven@xxxxxxxxxxx are origin.patch ps3-add-shutdown-to-virtual-uart-port-driver-framework.patch ps3-av-settings-driver.patch fbdev-modedb-allow-refresh-rates-for-named-video-modes.patch fbdev-modedb-make-more-pointer-parameters-const.patch fb_videomode_to_var-reset-virtual-screen-parameters.patch ps3-preallocate-bootmem-memory-for-ps3fb.patch ps3-virtual-frame-buffer-driver.patch ps3-disable-display-flipping-during-mode-changes.patch ps3-cleanup-ps3fb-before-clearing-hpte.patch ps3-ps3av-fb-defconfig-updates.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html