diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-02-07 12:16:34 +0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2017-02-09 11:12:47 +0300 |
commit | 0d5f46fa4cbdc728433543b37fd19227c7a1fe1f (patch) | |
tree | a1333b53769ab796f5da00f438528b990c3e95e8 /drivers/gpu/drm/vc4/vc4_drv.c | |
parent | 55cbc4dfcd1d73d74a2686a60754edf4388c25a2 (diff) | |
download | linux-0d5f46fa4cbdc728433543b37fd19227c7a1fe1f.tar.xz |
drm: vc4: 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: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1486458995-31018-23-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.c')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c index 3a8709d85da1..4f93328a2f20 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.c +++ b/drivers/gpu/drm/vc4/vc4_drv.c @@ -137,8 +137,6 @@ static struct drm_driver vc4_drm_driver = { .irq_postinstall = vc4_irq_postinstall, .irq_uninstall = vc4_irq_uninstall, - .enable_vblank = vc4_enable_vblank, - .disable_vblank = vc4_disable_vblank, .get_scanout_position = vc4_crtc_get_scanoutpos, .get_vblank_timestamp = vc4_crtc_get_vblank_timestamp, |