aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-02-07 17:16:18 +0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-02-07 21:46:51 +0100
commit5922a7d0753c1a364b753ed587cb3a7940e45b98 (patch)
treebcb8de2a3732c279551a1ffb53de2eb19a8c267d /drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c
parentdrm: malidp: use vblank hooks in struct drm_crtc_funcs (diff)
downloadlinux-dev-5922a7d0753c1a364b753ed587cb3a7940e45b98.tar.xz
linux-dev-5922a7d0753c1a364b753ed587cb3a7940e45b98.zip
drm: armada: 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. As the result, functions armada_drm_crtc_enable[disable]_irq() can be static, although they are moved around a bit to save forward declaration. The armada_crtc pointer array in struct armada_private is still kept in there, because armada_debugfs.c still have reference to it. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: Russell King <linux@armlinux.org.uk> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1486458995-31018-7-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c')
0 files changed, 0 insertions, 0 deletions