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)
commitd7868cb7ac58640e9c0383205ba31bd6a985cc6f
treea48b7c406b07eb765f39cb85e63c9a215e7cb1df
parent08a8901882709c6fb9e6158d57f59c1d16eb45cd
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