diff options
Diffstat (limited to 'sys-kernel/nvidia-drivers-dkms/files')
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-conf.patch | 17 | ||||
-rw-r--r-- | sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch | 27 |
2 files changed, 0 insertions, 44 deletions
diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-conf.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-conf.patch deleted file mode 100644 index ddac89d1..00000000 --- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-conf.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf ---- a/kernel/dkms.conf 2017-09-14 21:51:09.000000000 +0100 -+++ b/kernel/dkms.conf 2017-12-22 15:26:51.868319934 +0000 -@@ -1,7 +1,9 @@ --PACKAGE_NAME="nvidia" -+PACKAGE_NAME="nvidia-drivers-dkms" - PACKAGE_VERSION="304.137" --BUILT_MODULE_NAME[0]="$PACKAGE_NAME" --DEST_MODULE_LOCATION[0]="/kernel/drivers/video" -+AUTOINSTALL="yes" -+ - MAKE[0]="make module SYSSRC=${kernel_source_dir}" - CLEAN="make clean" --AUTOINSTALL="yes" -+ -+BUILT_MODULE_NAME[0]="nvidia" -+DEST_MODULE_LOCATION[0]="/extra/dkms" diff --git a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch b/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch deleted file mode 100644 index 74523080..00000000 --- a/sys-kernel/nvidia-drivers-dkms/files/nvidia-drivers-dkms-304.137-kernel-4.14.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Nur a/kernel/nv-drm.c b/kernel/nv-drm.c ---- a/kernel/nv-drm.c 2017-09-14 21:51:09.000000000 +0100 -+++ b/kernel/nv-drm.c 2017-12-22 15:29:01.080842070 +0000 -@@ -121,8 +121,12 @@ - { - int ret = 0; - #if defined(NV_DRM_AVAILABLE) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0) -+ ret = drm_legacy_pci_init(&nv_drm_driver, pci_driver); -+#else - ret = drm_pci_init(&nv_drm_driver, pci_driver); - #endif -+#endif - return ret; - } - -@@ -131,6 +135,10 @@ - ) - { - #if defined(NV_DRM_AVAILABLE) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0) -+ drm_legacy_pci_exit(&nv_drm_driver, pci_driver); -+#else - drm_pci_exit(&nv_drm_driver, pci_driver); - #endif -+#endif - } |