diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-02-07 17:16:25 +0800 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2017-02-21 11:17:54 -0500 |
commit | a5073a5b7aaa097d070ead9034621b69d163cb3f (patch) | |
tree | 5098fdb0b32c7c9bded6922974915175a74bd958 /drivers/gpu/drm/mediatek/mtk_drm_crtc.h | |
parent | d4f6750f9b816bd7448e7a63fa71ca84fd77e3e9 (diff) | |
download | linux-a5073a5b7aaa097d070ead9034621b69d163cb3f.tar.bz2 |
drm: mediatek: use vblank hooks in struct drm_crtc_funcs
The vblank hooks in struct drm_driver are deprecated and only meant for
legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks
in struct drm_crtc_funcs should be used instead.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: CK Hu <ck.hu@mediatek.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1486458995-31018-14-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/mediatek/mtk_drm_crtc.h')
-rw-r--r-- | drivers/gpu/drm/mediatek/mtk_drm_crtc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/mediatek/mtk_drm_crtc.h b/drivers/gpu/drm/mediatek/mtk_drm_crtc.h index a1550fa3c9d2..9d9410c67ae9 100644 --- a/drivers/gpu/drm/mediatek/mtk_drm_crtc.h +++ b/drivers/gpu/drm/mediatek/mtk_drm_crtc.h @@ -23,8 +23,6 @@ #define MTK_MAX_BPC 10 #define MTK_MIN_BPC 3 -int mtk_drm_crtc_enable_vblank(struct drm_device *drm, unsigned int pipe); -void mtk_drm_crtc_disable_vblank(struct drm_device *drm, unsigned int pipe); void mtk_drm_crtc_commit(struct drm_crtc *crtc); void mtk_crtc_ddp_irq(struct drm_crtc *crtc, struct mtk_ddp_comp *ovl); int mtk_drm_crtc_create(struct drm_device *drm_dev, |