summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix2
-rw-r--r--patches/udl.patch12
2 files changed, 13 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index 10cbc9b4..e1540376 100644
--- a/hel.nix
+++ b/hel.nix
@@ -46,7 +46,7 @@
46 46
47 boot.kernelPackages = pkgs.linuxPackages_latest; 47 boot.kernelPackages = pkgs.linuxPackages_latest;
48 boot.kernelPatches = [ 48 boot.kernelPatches = [
49 { patch = pkgs.fetchurl { url = "https://bugs.freedesktop.org/attachment.cgi?id=114235"; sha256 = "1q83k51f5mbik8y760q2ii07h075dyjv72fj5q4w09nngjvb7vxf"; }; 49 { patch = ./patches/udl.patch;
50 name = "udl-vblank"; 50 name = "udl-vblank";
51 } 51 }
52 ]; 52 ];
diff --git a/patches/udl.patch b/patches/udl.patch
new file mode 100644
index 00000000..ca44a73b
--- /dev/null
+++ b/patches/udl.patch
@@ -0,0 +1,12 @@
1*** udl_drv.c.orig 2017-05-14 18:28:55.765966608 +0200
2--- udl_drv.c 2017-05-14 18:30:46.872445409 +0200
3***************
4*** 53,58 ****
5--- 53,59 ----
6 .load = udl_driver_load,
7 .unload = udl_driver_unload,
8 .set_busid = udl_driver_set_busid,
9+ .get_vblank_counter = drm_vblank_count,
10
11 /* gem hooks */
12 .gem_free_object = udl_gem_free_object,