1 diff -urN linux-2.6.28.2-0rig//drivers/video/atmel_mpopfb.c linux-2.6.28.2/drivers/video/atmel_mpopfb.c
2 --- linux-2.6.28.2-0rig//drivers/video/atmel_mpopfb.c 2009-01-29 09:41:04.000000000 +0100
3 +++ linux-2.6.28.2/drivers/video/atmel_mpopfb.c 2009-01-29 09:43:46.000000000 +0100
5 static void atmel_mpopfb_start(struct atmel_mpopfb_info *sinfo)
8 + unsigned int line_cache_disable =
9 + sinfo->baseimg_info.line_cache_disable ?
10 + ATMEL_MPOP_CR_CACHEDIS_MASK : 0;
12 dev_dbg(sinfo->info->device, " * Starting MPOP.\n");
14 /* Enable all error interrupts. */
16 * reading from the slave interface it will start
19 - mpop_writel(sinfo, ATMEL_MPOP_CR,
20 - ATMEL_MPOP_CR_EN_MASK
21 - /*| ATMEL_MPOP_CR_OUT_BGR_MASK */ );
22 + mpop_writel(sinfo, ATMEL_MPOP_CR, ATMEL_MPOP_CR_EN_MASK
23 + | line_cache_disable
24 + | ATMEL_MPOP_CR_OUT_BGR_MASK);
28 diff -urN linux-2.6.28.2-0rig//include/linux/atmel_mpopfb.h linux-2.6.28.2/include/linux/atmel_mpopfb.h
29 --- linux-2.6.28.2-0rig//include/linux/atmel_mpopfb.h 2009-01-29 09:41:04.000000000 +0100
30 +++ linux-2.6.28.2/include/linux/atmel_mpopfb.h 2009-01-29 09:43:46.000000000 +0100
35 - /* Signal that we should flip the video. */
36 + /* Signal for flipping the video. */
39 + /* Signal for disabling the line cache. */
40 + int line_cache_disable;
43 enum atmel_mpopfb_overlay_type {