drm: zte: move CSC register definitions into a common header
authorShawn Guo <shawn.guo@linaro.org>
Thu, 6 Apr 2017 15:01:08 +0000 (23:01 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 May 2017 05:51:52 +0000 (13:51 +0800)
commit9e42b263e8c0bd2bf0faac046aff26f0b34e603e
tree3d555e8e441d7fb20b21cbe8b81bf66d61a1e04f
parent893898f583f0ce4415e1b74399a14632c43a7bbe
drm: zte: move CSC register definitions into a common header

The CSC (Color Space Conversion) block in VOU is used by not only
Graphic Layer (plane) but also channel (CRTC) module.  Let's move
its register definitions into a common header, so that CRTC driver can
include it when needed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1491490870-6330-3-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/zte/zx_common_regs.h [new file with mode: 0644]
drivers/gpu/drm/zte/zx_plane.c
drivers/gpu/drm/zte/zx_plane_regs.h