drm/rockchip: vop: add a series of vop support
authorMark yao <mark.yao@rock-chips.com>
Wed, 26 Jul 2017 06:19:30 +0000 (14:19 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 31 Jul 2017 00:44:06 +0000 (08:44 +0800)
commiteb5cb6aa9a72a7c23b733d858469963067551b33
tree2ef382c828a80e072dcbf2457a3bf5921b753332
parent9a61c54b9bff88e692ac7b1245546539ac5274a1
drm/rockchip: vop: add a series of vop support

Vop Full framework now has following vops:
IP version    chipname
  3.1           rk3288
  3.2           rk3368
  3.4           rk3366
  3.5           rk3399 big
  3.6           rk3399 lit
  3.7           rk3228
  3.8           rk3328

The above IP version is from H/W define, some of vop support get
the IP version from VERSION_INFO register, some are not.
hardcode the IP version for each vop to identify them.

major version: used for IP structure, Vop full framework is 3,
               vop little framework is 2.
minor version: on same structure, newer design vop will bigger
               then old one.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1501049971-6131-1-git-send-email-mark.yao@rock-chips.com
drivers/gpu/drm/rockchip/rockchip_drm_vop.h
drivers/gpu/drm/rockchip/rockchip_vop_reg.c
drivers/gpu/drm/rockchip/rockchip_vop_reg.h