diff options
author | Jeffy Chen <jeffy.chen@rock-chips.com> | 2017-04-27 14:54:17 +0800 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-04-27 09:07:38 -0400 |
commit | 459b086d878b855a7d09a074cf0dbd0717dc50ec (patch) | |
tree | d6aa566d44512786b80fa4a377a10c60fc26d2a0 /drivers/gpu/drm/rockchip/rockchip_drm_drv.h | |
parent | d753e41d475421543eaaea5f0feadba827f5fa01 (diff) | |
download | blackbird-op-linux-459b086d878b855a7d09a074cf0dbd0717dc50ec.tar.gz blackbird-op-linux-459b086d878b855a7d09a074cf0dbd0717dc50ec.zip |
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
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_drv.h')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h index a48fcce3f5f6..47905faf5586 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h @@ -62,8 +62,7 @@ int rockchip_drm_dma_attach_device(struct drm_device *drm_dev, struct device *dev); void rockchip_drm_dma_detach_device(struct drm_device *drm_dev, struct device *dev); -int rockchip_drm_wait_line_flag(struct drm_crtc *crtc, unsigned int line_num, - unsigned int mstimeout); +int rockchip_drm_wait_vact_end(struct drm_crtc *crtc, unsigned int mstimeout); extern struct platform_driver cdn_dp_driver; extern struct platform_driver dw_hdmi_rockchip_pltfm_driver; |