summaryrefslogtreecommitdiff
path: root/patches/udl.patch
blob: 04892839d97101c8bfb6db7b7af38ffd624476ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/drivers/gpu/drm/udl/udl_drv.c b/drivers/gpu/drm/udl/udl_drv.c
index cd8b017..918e54e 100644
--- a/drivers/gpu/drm/udl/udl_drv.c
+++ b/drivers/gpu/drm/udl/udl_drv.c
@@ -8,6 +8,7 @@
 
 #include <linux/module.h>
 #include <drm/drmP.h>
+#include <drm/drm_irq.h>
 #include <drm/drm_crtc_helper.h>
 #include "udl_drv.h"
 
@@ -53,6 +54,7 @@ static struct drm_driver driver = {
 	.load = udl_driver_load,
 	.unload = udl_driver_unload,
 	.set_busid = udl_driver_set_busid,
+	.get_vblank_counter = drm_vblank_no_hw_counter,
 
 	/* gem hooks */
 	.gem_free_object = udl_gem_free_object,