]> git.karo-electronics.de Git - linux-beck.git/commit
OMAPDSS: Add support for MFLAG
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Sep 2014 20:46:18 +0000 (20:46 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 10:15:14 +0000 (12:15 +0200)
commitc64aa3a6600fa5ab25c3ff535d134c8f09add5aa
tree44a2f96a94a2a169d9366251bfe3adf7124a3390
parent47fc469b3af5fc63d65a51e21acaa3ed06c288e7
OMAPDSS: Add support for MFLAG

OMAP5 has support for MFLAG feature, which allows DSS to dynamically
increase the priority of DISPC's DMA traffic. At the moment we don't
have support for it.

It was noticed that on DRA7 with high bandwidth use cases we see FIFO
underflows. Implementing MFLAG support removed those underflows.
Interestingly, on OMAP5 uEVM no such overflows were seen.

This patch adds a simple MFLAG implementation, where we use a fixed
MFLAG threshold value based on the FIFO size. The thresholds are set to
4/8 of fifo size for low threshold, and 5/8 of fifo size for high
threshold.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/dss/dispc.c