summaryrefslogtreecommitdiff
path: root/SOURCES/nouveau-gsp-default.patch
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-02-08 22:07:04 +0100
committerJan200101 <sentrycraft123@gmail.com>2024-02-08 22:07:04 +0100
commita76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3 (patch)
treec77f07714c04275e3aa69b885a4ef7673985245d /SOURCES/nouveau-gsp-default.patch
parent32a4026b609472b5b278fb1a9c2e5d740782edd2 (diff)
downloadkernel-fsync-a76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3.tar.gz
kernel-fsync-a76b9e93d4de9f14a7e4aaa6d19fc721fc2e17d3.zip
kernel 6.7.3
Diffstat (limited to 'SOURCES/nouveau-gsp-default.patch')
-rw-r--r--SOURCES/nouveau-gsp-default.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/SOURCES/nouveau-gsp-default.patch b/SOURCES/nouveau-gsp-default.patch
new file mode 100644
index 0000000..6e48562
--- /dev/null
+++ b/SOURCES/nouveau-gsp-default.patch
@@ -0,0 +1,23 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jan200101 <sentrycraft123@gmail.com>
+Date: Thu, 8 Feb 2024 00:14:36 +0100
+Subject: [PATCH] enable Nouveau GSP by default on all platforms
+
+Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
+---
+ drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+index 9ee58e2a0eb2..e7864dedf01b 100644
+--- a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
++++ b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+@@ -2296,7 +2296,7 @@ r535_gsp_load(struct nvkm_gsp *gsp, int ver, const struct nvkm_gsp_fwif *fwif)
+ struct nvkm_subdev *subdev = &gsp->subdev;
+ int ret;
+
+- if (!nvkm_boolopt(subdev->device->cfgopt, "NvGspRm", fwif->enable))
++ if (!nvkm_boolopt(subdev->device->cfgopt, "NvGspRm", true))
+ return -EINVAL;
+
+ if ((ret = r535_gsp_load_fw(gsp, "gsp", fwif->ver, &gsp->fws.rm)) ||