diff options
author | sirlucjan | 2017-04-20 17:14:37 +0200 |
---|---|---|
committer | sirlucjan | 2017-04-20 17:14:37 +0200 |
commit | db81a1de82f770cb6949d6e0fcadd5059da01686 (patch) | |
tree | b0c1fe0fcbf8e3fa1c638c61b78e58d0ec1062fc /drm-driver-legacy.patch | |
parent | 122cd89575dad3a49e7d0abbc8270eb50d714457 (diff) | |
download | aur-db81a1de82f770cb6949d6e0fcadd5059da01686.tar.gz |
Bump to 4.10-series
Diffstat (limited to 'drm-driver-legacy.patch')
-rw-r--r-- | drm-driver-legacy.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/drm-driver-legacy.patch b/drm-driver-legacy.patch deleted file mode 100644 index 32ac75ca4dfa..000000000000 --- a/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, |