This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/evdi_drv.c b/module/evdi_drv.c | |
index d364efa..fbbdb9e 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/Makefile b/module/Makefile | |
index 8212bde..dc1b69b 100644 | |
--- a/module/Makefile | |
+++ b/module/Makefile | |
@@ -17,7 +17,7 @@ ifneq ($(DKMS_BUILD),) | |
KERN_DIR := /lib/modules/$(KERNELRELEASE)/build | |
-ccflags-y := -Iinclude/drm $(EL8FLAG) -DCONFIG_DRM_LEGACY | |
+ccflags-y := -Iinclude/drm $(EL8FLAG) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/Makefile b/module/Makefile | |
index 8212bde..e36770e 100644 | |
--- a/module/Makefile | |
+++ b/module/Makefile | |
@@ -17,7 +17,7 @@ ifneq ($(DKMS_BUILD),) | |
KERN_DIR := /lib/modules/$(KERNELRELEASE)/build | |
-ccflags-y := -Iinclude/drm $(EL8FLAG) -DCONFIG_DRM_LEGACY | |
+ccflags-y := -Iinclude/drm $(EL8FLAG) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/module/Makefile b/module/Makefile | |
index 227457b..118ab60 100644 | |
--- a/module/Makefile | |
+++ b/module/Makefile | |
@@ -17,7 +17,7 @@ ifneq ($(DKMS_BUILD),) | |
KERN_DIR := /lib/modules/$(KERNELRELEASE)/build | |
-ccflags-y := -Iinclude/drm $(EL8FLAG) | |
+ccflags-y := -Iinclude/drm $(EL8FLAG) -DCONFIG_DRM_LEGACY |