]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism
authorLiu Ying <gnuiyl@gmail.com>
Fri, 8 Jul 2016 09:40:54 +0000 (17:40 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:23:43 +0000 (18:23 +0200)
commiteaf6ea0971361a1737334fd849793f60c8107857
treea48b7c406b07eb765f39cb85e63c9a215e7cb1df
parentefc47a02348e291205fbf1219ed7eae71dff6c72
gpu: ipu-v3: ipu-dmfc: Use static DMFC FIFO allocation mechanism

For all video modes we support currently, we always get 2 slots for
a plane by using the current existing dynamic DMFC FIFO allocation
mechanism.  So, let's change to use the static one to simplify the
code.  This also makes it easier to implement the atomic mode setting
as we don't need to handle allocation failure cases then.

Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-plane.c
drivers/gpu/ipu-v3/ipu-dmfc.c
include/video/imx-ipu-v3.h