Skip to content

Instantly share code, notes, and snippets.

View sickcodes's full-sized avatar
Free Software, Code, Contracting, Hacking. DMs Open

sickcodes sickcodes

Free Software, Code, Contracting, Hacking. DMs Open
View GitHub Profile
### Keybase proof
I hereby claim:
* I am sickcodes on github.
* I am sickcodes (https://keybase.io/sickcodes) on keybase.
* I have a public key ASDhfHa8Ej_O6mvYZKyURa2Apc3KphOaOmF1WHqHibK37Ao
To claim this, I am signing this object:
@sickcodes
sickcodes / gist:2c62b829fdb2d9f98f547e27dd1c85f5
Last active March 24, 2021 10:18 — forked from rockorequin/gist:f61fcb0217194997a2a3e8c4da260e4c
Patch for evdi branch rockorequin-sickcodes-microhobby-patch-1.7.x for kernel 5.12
diff --git a/module/evdi_drv.c b/module/evdi_drv.c
index d364efa..3428158 100644
--- a/module/evdi_drv.c
+++ b/module/evdi_drv.c
@@ -84,6 +84,18 @@ static void evdi_disable_vblank(__always_unused struct drm_device *dev,
}
#endif
+#if KERNEL_VERSION(5, 12, 0) >= LINUX_VERSION_CODE
+// This has become an internal function in 5.12, so copy it here