diff options
author | Britney Fransen <brfransen@gmail.com> | 2017-11-22 17:47:24 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2017-11-22 17:47:24 (GMT) |
commit | 76c05e2ee6e9d8c3a85f404a8cf4b907f92c220a (patch) | |
tree | a4876a72161750ec4ac321be160651f10a5d565b /abs/core/nvidia-304xx/drm-driver-legacy.patch | |
parent | be0043037d6f113d4b82d8884daa745b4db15742 (diff) | |
download | linhes_pkgbuild-76c05e2ee6e9d8c3a85f404a8cf4b907f92c220a.zip linhes_pkgbuild-76c05e2ee6e9d8c3a85f404a8cf4b907f92c220a.tar.gz linhes_pkgbuild-76c05e2ee6e9d8c3a85f404a8cf4b907f92c220a.tar.bz2 |
nvidia-304xx & nvidia-304xx-utils: update to 304.137
Diffstat (limited to 'abs/core/nvidia-304xx/drm-driver-legacy.patch')
-rw-r--r-- | abs/core/nvidia-304xx/drm-driver-legacy.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/abs/core/nvidia-304xx/drm-driver-legacy.patch b/abs/core/nvidia-304xx/drm-driver-legacy.patch deleted file mode 100644 index 32ac75c..0000000 --- a/abs/core/nvidia-304xx/drm-driver-legacy.patch +++ /dev/null @@ -1,20 +0,0 @@ -Author: Luca Boccassi <luca.boccassi@gmail.com> -Description: Fix kernel module load on 4.9 and greater - From kernel 4.9 and newer (commit fa5386459f06) non-modesetting drivers have - to use the DRM flag DRIVER_LEGACY. Without this flag the kernel module does - not load correctly. - ---- a/nv-drm.c -+++ b/nv-drm.c -@@ -71,7 +71,11 @@ - }; - - static struct drm_driver nv_drm_driver = { -+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 0) - .driver_features = 0, -+#else -+ .driver_features = DRIVER_LEGACY, -+#endif - .load = nv_drm_load, - .unload = nv_drm_unload, - .fops = &nv_drm_fops, |