diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-12-05 21:53:09 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-12-16 15:04:49 +0100 |
commit | 8356bda519796432ec6965fe95371a2c9e1305cc (patch) | |
tree | e369f12558329e1f24f5c129fa10282d06fe8a39 /target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch | |
parent | 9459f037bf6dd3ee73b6a647cc83b6b98d4c7478 (diff) | |
download | buildroot-novena-8356bda519796432ec6965fe95371a2c9e1305cc.tar.gz buildroot-novena-8356bda519796432ec6965fe95371a2c9e1305cc.zip |
Remove the few remaining unused Atmel-specific bits
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch')
-rw-r--r-- | target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch b/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch deleted file mode 100644 index d09823e3b..000000000 --- a/target/device/Atmel/arch-avr32/kernel-patches-2.6.27.6/linux-2.6.27.6-202-avr32-atmel_mpopfb-add-signal-to-disable-line-caching.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 86fd2e3e74a191ae43122ac18f62f5163c577d4b Mon Sep 17 00:00:00 2001 -From: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> -Date: Wed, 26 Nov 2008 14:11:59 +0100 -Subject: [PATCH 3/3] atmel_mpopfb: add signal to disable line caching and set correct output - -This patch adds a signal to disable line caching, due to an errata in -silicon revision A. It also sets the output from MPOP to BGR to match -big endian framebuffer memory. - -Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> - -diff --git a/drivers/video/atmel_mpopfb.c b/drivers/video/atmel_mpopfb.c -index 3b4b668..350303b 100644 ---- a/drivers/video/atmel_mpopfb.c -+++ b/drivers/video/atmel_mpopfb.c -@@ -313,6 +313,10 @@ static int atmel_mpopfb_check_var(struct fb_var_screeninfo *var, - static void atmel_mpopfb_start(struct atmel_mpopfb_info *sinfo) - { - if (!sinfo->running) { -+ unsigned int line_cache_disable = -+ sinfo->baseimg_info.line_cache_disable ? -+ ATMEL_MPOP_CR_CACHEDIS_MASK : 0; -+ - dev_dbg(sinfo->info->device, " * Starting MPOP.\n"); - - /* Enable all error interrupts. */ -@@ -323,9 +327,9 @@ static void atmel_mpopfb_start(struct atmel_mpopfb_info *sinfo) - * reading from the slave interface it will start - * generating a frame. - */ -- mpop_writel(sinfo, ATMEL_MPOP_CR, -- ATMEL_MPOP_CR_EN_MASK -- /*| ATMEL_MPOP_CR_OUT_BGR_MASK */ ); -+ mpop_writel(sinfo, ATMEL_MPOP_CR, ATMEL_MPOP_CR_EN_MASK -+ | line_cache_disable -+ | ATMEL_MPOP_CR_OUT_BGR_MASK); - - sinfo->running = 1; - } -diff --git a/include/linux/atmel_mpopfb.h b/include/linux/atmel_mpopfb.h -index cd12e16..d0f2505 100644 ---- a/include/linux/atmel_mpopfb.h -+++ b/include/linux/atmel_mpopfb.h -@@ -42,9 +42,11 @@ struct atmel_mpopfb_baseimg_info { - unsigned xsize; - unsigned ysize; - -- /* Signal that we should flip the video. */ -+ /* Signal for flipping the video. */ - int flip; - -+ /* Signal for disabling the line cache. */ -+ int line_cache_disable; - }; - - enum atmel_mpopfb_overlay_type { --- -1.5.6.3 - |