summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-08-13 00:08:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-08-13 01:07:29 +0200
commitea757acad5a5183c65a3e1b28b49a5978fe6a052 (patch)
tree6cefcbb3770fa13719792e03158b9d8f3b0d36ac /include/video
parentatmel_lcdfb: set ypanstep to 1 and enable y-panning on AT91 (diff)
downloadlinux-ea757acad5a5183c65a3e1b28b49a5978fe6a052.tar.xz
linux-ea757acad5a5183c65a3e1b28b49a5978fe6a052.zip
atmel_lcdfb: add board parameter specify framebuffer memory size
Specify how much physically continuous, DMA capable memory will be allocated at driver initialization time. This allow to create framebuffer device with larger virtual resolution. Combine with y-panning this can be used to implement double buffering acceleration method. Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl> Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/atmel_lcdc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index 613173b5db69..920c4e9cb93d 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -41,6 +41,7 @@ struct atmel_lcdfb_info {
struct work_struct task;
unsigned int guard_time;
+ unsigned int smem_len;
struct platform_device *pdev;
struct clk *bus_clk;
struct clk *lcdc_clk;