diff options
author | Mark Yao <mark.yao@rock-chips.com> | 2015-11-23 15:21:08 +0800 |
---|---|---|
committer | Mark Yao <mark.yao@rock-chips.com> | 2015-12-28 08:49:24 +0800 |
commit | b5f7b75503efa5499080e51eb5c085fe1de1970d (patch) | |
tree | e7ad645b52082401fdaaad99781fe8caddf69c4f /drivers/gpu/drm/rockchip/rockchip_drm_drv.h | |
parent | 20f8e032e6dc7053ab803f488e2a8839cd2f69a6 (diff) | |
download | op-kernel-dev-b5f7b75503efa5499080e51eb5c085fe1de1970d.zip op-kernel-dev-b5f7b75503efa5499080e51eb5c085fe1de1970d.tar.gz |
drm/rockchip: Use new vblank api drm_crtc_vblank_*
No functional update, drm_vblank_* is the legacy version of
drm_crtc_vblank_*. and use new api make driver more clean.
Signed-off-by: Mark Yao <mark.yao@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 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h index dc4e5f0..069d6d4 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.h @@ -52,10 +52,9 @@ struct rockchip_drm_private { const struct rockchip_crtc_funcs *crtc_funcs[ROCKCHIP_MAX_CRTC]; }; -int rockchip_register_crtc_funcs(struct drm_device *dev, - const struct rockchip_crtc_funcs *crtc_funcs, - int pipe); -void rockchip_unregister_crtc_funcs(struct drm_device *dev, int pipe); +int rockchip_register_crtc_funcs(struct drm_crtc *crtc, + const struct rockchip_crtc_funcs *crtc_funcs); +void rockchip_unregister_crtc_funcs(struct drm_crtc *crtc); int rockchip_drm_encoder_get_mux_id(struct device_node *node, struct drm_encoder *encoder); int rockchip_drm_crtc_mode_config(struct drm_crtc *crtc, int connector_type, |