From: Martin Ambrose Date: Mon, 24 May 2010 21:34:01 +0000 (-0700) Subject: fbdev: da8xx/omap-l1xx: implement double buffering X-Git-Tag: v2.6.35-rc1~280 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f9c3e1f07e39c8af3bf42236fc553b5bb0f83f1;p=pandora-kernel.git fbdev: da8xx/omap-l1xx: implement double buffering This work includes the following: - Implement handler for FBIO_WAITFORVSYNC ioctl. - Allocate the data and palette buffers separately. A consequence of this is that the palette and data loading is now done in different phases. And that the LCD must be disabled temporarily after the palette is loaded but this will only happen once after init and each time the palette is changed. I think this is OK. - Allocate two (ping and pong) framebuffers from memory. - Add pan_display handler which toggles the LCDC DMA registers between the ping and pong buffers. Signed-off-by: Martin Ambrose Cc: Chaithrika U S Cc: Sudhakar Rajashekhara Cc: Krzysztof Helt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed