drm: kirin: use vblank hooks in struct drm_crtc_funcs
authorShawn Guo <shawn.guo@linaro.org>
Tue, 7 Feb 2017 09:16:23 +0000 (17:16 +0800)
committerSean Paul <seanpaul@chromium.org>
Tue, 21 Feb 2017 16:17:45 +0000 (11:17 -0500)
commitd4f6750f9b816bd7448e7a63fa71ca84fd77e3e9
tree9ce4907d89aef411fe7fd6ef9aa840eb90d8d1b0
parent15f080f08d48af9388142e45a247c8410736178b
drm: kirin: 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.

Reviewed-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Xinliang Liu <z.liuxinliang@hisilicon.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1486458995-31018-12-git-send-email-shawnguo@kernel.org
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c