]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Use frontend for dma on sun4i to fix memory bandwidth problems
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Jan 2015 07:44:07 +0000 (08:44 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:56 +0000 (12:34 +0100)
commit7cd6f92d41a4bb364eb223f216334c0676eb7e97
tree2354c87785d555f8d458b0f3956a0fb20211b84d
parent1cf054a8839ee6f096a0cb5d40640efdec235b2b
sunxi: video: Use frontend for dma on sun4i to fix memory bandwidth problems

Testing has shown that on sun4i the display backend engine does not have
deep enough fifo-s causing flickering / tearing in full-hd mode due to
fifo underruns. On sun4i use the display frontend engine to do the dma from
memory, as the frontend does have deep enough fifo-s.

As added advantage of this is that it results in much better memory bandwidth
as it reduces the amount of dram bank switches, for more details see:

http://ssvb.github.io/2014/11/11/revisiting-fullhd-x11-desktop-performance-of-the-allwinner-a10.html

Note that this changes the pipeline searched for in the simplefb node, we can
get away with doing this now, since no kernel has yet shipped with simplefb
dtb nodes, and I will make sure to get a simplefb node with the new pipeline
into 3.19 before it ships.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/clock_sun4i.h
arch/arm/include/asm/arch-sunxi/display.h
drivers/video/sunxi_display.c