drm/imx: ipuv3 plane: Check different types of plane separately
authorLiu Ying <gnuiyl@gmail.com>
Fri, 8 Jul 2016 09:40:53 +0000 (17:40 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:23:38 +0000 (18:23 +0200)
commit08a8901882709c6fb9e6158d57f59c1d16eb45cd
tree3cf6bb569d32cfc47f85d793a9e05a73dc3c5684
parent9253d0590ef17b4ef2167a66ad500c51b2d61610
drm/imx: ipuv3 plane: Check different types of plane separately

The IPUv3 primary plane doesn't support partial off screen.
So, this patch separates plane check logics for primary plane and overlay
plane and adds more limitations on the primary plane.

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