drm/rockchip: vop: initialize registers directly
authorMark yao <mark.yao@rock-chips.com>
Wed, 26 Jul 2017 06:19:05 +0000 (14:19 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 31 Jul 2017 00:43:48 +0000 (08:43 +0800)
commit60b7ae7fa2f650b9faefff34aa295c28b65bb607
tree9545c1a0e986ea4ad7703117bb3f8bd5c67415c7
parentdb1fc97ca0c0d3fdeeadf314d99a26188438940a
drm/rockchip: vop: initialize registers directly

At present we are using init_table to initialize some
registers, but the Register init table use un-document define,
it is unreadable, and sometimes we only want to update tiny
bits, init table method is not friendly, it's diffcult to
reuse for difference chips.

To make it clean, initialize registers directly, and drops
init_table mechanism out.

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