drm/rockchip: vop: introduce VOP_REG_MASK
authorMark Yao <mark.yao@rock-chips.com>
Wed, 20 Apr 2016 06:18:15 +0000 (14:18 +0800)
committerSean Paul <seanpaul@chromium.org>
Tue, 23 Aug 2016 15:44:29 +0000 (11:44 -0400)
commitd49463ec78cfadab29de1df318c525319ab3c919
treeb3cd57bc38b4dc8c938c0368d4ecf0e4667b1045
parentb51502add7afc5ac83eacecec1fee148603ddb08
drm/rockchip: vop: introduce VOP_REG_MASK

Some new vop register support mask, bit[16-31] is mask,
bit[0-15] is value, the mask is correspond to the value.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
[seanpaul masked 'v' per tfiga's review comments]
Reviewed-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c
drivers/gpu/drm/rockchip/rockchip_drm_vop.h
drivers/gpu/drm/rockchip/rockchip_vop_reg.c