drm: zte: add VGA driver support
authorShawn Guo <shawn.guo@linaro.org>
Tue, 11 Apr 2017 11:30:26 +0000 (19:30 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 May 2017 05:53:05 +0000 (13:53 +0800)
commit6911498df901950d2b83ea707b3d00b1f6366fbc
tree50403c1194d179c65be1596c71474ab51577236a
parentcd4b298334ebc7b7bd0384c6c81de398c983c6e3
drm: zte: add VGA driver support

It adds VGA driver support, which needs to configure corresponding VOU
interface in RGB_888 format, and thus the following changes are needed
on zx_vou.

 - Rename the CSC block of Graphic Layer a bit to make it more specific,
   and add CSC of Channel to support RGB output.
 - Bypass Dither block for RGB output.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1491910226-7831-1-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/zte/Makefile
drivers/gpu/drm/zte/zx_drm_drv.c
drivers/gpu/drm/zte/zx_drm_drv.h
drivers/gpu/drm/zte/zx_vga.c [new file with mode: 0644]
drivers/gpu/drm/zte/zx_vga_regs.h [new file with mode: 0644]
drivers/gpu/drm/zte/zx_vou.c
drivers/gpu/drm/zte/zx_vou_regs.h