drm: zte: add overlay plane support
authorShawn Guo <shawn.guo@linaro.org>
Wed, 16 Nov 2016 06:43:59 +0000 (14:43 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Sat, 28 Jan 2017 02:17:41 +0000 (10:17 +0800)
commit4e986d3705dfb3fd16b54b795b2427a48af22674
tree2e2cc53614447f29f9f9c15b861336ce054b946d
parent7254b1f91ebc221ef71f7b23129a2ec0558e50cb
drm: zte: add overlay plane support

It enables VOU VL (Video Layer) to support overlay plane with scaling
function.  VL0 has some quirks on scaling support.  We choose to skip it
and only adds VL1 and VL2 into DRM core for now.

Function zx_plane_atomic_disable() gets moved around with no changes to
save a forward declaration.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/zte/zx_plane.c
drivers/gpu/drm/zte/zx_plane_regs.h
drivers/gpu/drm/zte/zx_vou.c
drivers/gpu/drm/zte/zx_vou_regs.h