xf86-video-nvidia-legacy: fix 5.4-rc1 build

This commit is contained in:
MilhouseVH 2019-11-12 22:40:34 +00:00
parent bca69ea0ed
commit 090ee755ba

View File

@ -0,0 +1,26 @@
From dbff36065f2359d8ba0e6e359428998f20208f8b Mon Sep 17 00:00:00 2001
From: MilhouseVH <milhouseVH.github@nmacleod.com>
Date: Tue, 1 Oct 2019 16:20:08 +0100
Subject: [PATCH] DRIVER_PRIME: remove it for 5.4-rc1
Ref: https://github.com/torvalds/linux/commit/0424fdaf883a689d5185c0d0665b265373945898
---
kernel/nv-drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/nv-drm.c b/kernel/nv-drm.c
index 7097069..a0110fa 100644
--- a/kernel/nv-drm.c
+++ b/kernel/nv-drm.c
@@ -156,7 +156,7 @@ static const struct file_operations nv_drm_fops = {
};
static struct drm_driver nv_drm_driver = {
- .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_LEGACY,
+ .driver_features = DRIVER_GEM | DRIVER_LEGACY,
.load = nv_drm_load,
.unload = nv_drm_unload,
.fops = &nv_drm_fops,
--
2.14.1