]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxafb: add support for FBIOPAN_DISPLAY by dma braching
authorEric Miao <ycmiao@ycmiao-hp520.(none)>
Wed, 17 Dec 2008 08:50:43 +0000 (16:50 +0800)
committerEric Miao <eric.miao@marvell.com>
Mon, 29 Dec 2008 09:59:17 +0000 (17:59 +0800)
commit6e354846e807e037751fdc8faaee8ad492177113
treeeb31ad176a03091ff02560d2623ed9952fa19dc6
parent7e4b19c95c8632b543bd510ec6c710bebb53b840
[ARM] pxafb: add support for FBIOPAN_DISPLAY by dma braching

dma branching is enabled by extending the current setup_frame_dma()
function to allow a 2nd set of frame/palette dma descriptors to be
used.

As a result, pxafb_dma_buff.dma_desc[], pxafb_dma_buff.pal_desc[]
and pxafb_info.fdadr[] are doubled.

This allows maximum re-use of the current dma setup code, although
the pxafb_info.fdadr[xx] for FBRx register values looks a bit odd.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Eric Miao <ycmiao@ycmiao-hp520.(none)>
arch/arm/mach-pxa/include/mach/regs-lcd.h
drivers/video/pxafb.c
drivers/video/pxafb.h