summaryrefslogtreecommitdiff
path: root/patches/udl.patch
blob: 9fccc79d0b24a0ab738f7f4f84bbb962854a16c3 (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..fc05036 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_count,
 
 	/* gem hooks */
 	.gem_free_object = udl_gem_free_object,