summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/stm/drv.c
diff options
context:
space:
mode:
authorPhilippe CORNU2018-04-07 23:29:37 +0200
committerPhilippe Cornu2018-04-19 12:03:11 +0200
commitc8da819478e8149656ff12e40fde2446f9034e81 (patch)
tree49b00571241b8c95cafcbe786f3ef518383aabb8 /drivers/gpu/drm/stm/drv.c
parentdrm/xen-front: Remove CMA support (diff)
downloadkernel-qcow2-linux-c8da819478e8149656ff12e40fde2446f9034e81.tar.gz
kernel-qcow2-linux-c8da819478e8149656ff12e40fde2446f9034e81.tar.xz
kernel-qcow2-linux-c8da819478e8149656ff12e40fde2446f9034e81.zip
drm/stm: move enable/disable_vblank to crtc
enable/disable_vblank() functions at drm_driver level are deprecated. Move them to the ltdc drm_crtc_funcs structure. Signed-off-by: Philippe Cornu <philippe.cornu@st.com> Reviewed-by: Vincent Abriou <vincent.abriou@st.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180407212937.30407-1-philippe.cornu@st.com
Diffstat (limited to 'drivers/gpu/drm/stm/drv.c')
-rw-r--r--drivers/gpu/drm/stm/drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/stm/drv.c b/drivers/gpu/drm/stm/drv.c
index 9ab00a87f7cc..8698e08313e1 100644
--- a/drivers/gpu/drm/stm/drv.c
+++ b/drivers/gpu/drm/stm/drv.c
@@ -72,8 +72,6 @@ static struct drm_driver drv_driver = {
.gem_prime_vmap = drm_gem_cma_prime_vmap,
.gem_prime_vunmap = drm_gem_cma_prime_vunmap,
.gem_prime_mmap = drm_gem_cma_prime_mmap,
- .enable_vblank = ltdc_crtc_enable_vblank,
- .disable_vblank = ltdc_crtc_disable_vblank,
};
static int drv_load(struct drm_device *ddev)