]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: setup default fifo thresholds
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Sep 2014 20:46:17 +0000 (20:46 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 26 Feb 2015 10:15:13 +0000 (12:15 +0200)
commit026731e5a2dc1b193ca2ad6481add8e711d99fbb
tree5ff5e3183c19cfdd842cd5dea1d6a21d4f73aba0
parentc9e583aa654d099aff0fafd453d07b91b78fe03c
OMAPDSS: setup default fifo thresholds

At the moment we don't setup FIFO thresholds by default in omapdss. It's
supposed to be done by the user of omapdss. And that is missing from
omapdrm, causing unoptimal thresholds to be used when using omapdrm.

While I believe it's in theory better to allow the user of omapdss to
setup the fifo thresholds, in practice we always use the same values,
and we could as well setup the thresholds in omapdss.

Furthermore, in omapdss init we always swap the FIFO used for GFX and WB
overlays, but we don't swap the FIFO thresholds for those overlays
(which is the reason for omapdrm using unoptimal HW reset values). So
it would make sense to setup the thresholds to account for the swapping
of the FIFOs.

So, this patch adds code to setup default FIFO tresholds at omapdss
init.

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