drm/rockchip: Set line flag config register in vop_crtc_enable
authorJeffy Chen <jeffy.chen@rock-chips.com>
Thu, 27 Apr 2017 06:54:17 +0000 (14:54 +0800)
committerSean Paul <seanpaul@chromium.org>
Thu, 27 Apr 2017 13:07:38 +0000 (09:07 -0400)
commit459b086d878b855a7d09a074cf0dbd0717dc50ec
treed6aa566d44512786b80fa4a377a10c60fc26d2a0
parentd753e41d475421543eaaea5f0feadba827f5fa01
drm/rockchip: Set line flag config register in vop_crtc_enable

We need to set vop config done after update line flag config, it's a
new requirement for chips newer than rk3368.

Since we would only use line flag irq for vact_end, let's move it to
vop_crtc_enable.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Acked-by: Mark Yao <mark.yao@rock-chips.com
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1493276057-4516-1-git-send-email-jeffy.chen@rock-chips.com
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h
drivers/gpu/drm/rockchip/rockchip_drm_vop.c