commit 7935465143801be4fb25a432c339fb3bead63119
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Oct 17 21:40:26 2023 +0100
Fix patch and enable nvidia frame buffer
make_modeset_default.patch | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/make_modeset_default.patch b/make_modeset_default.patch
index 1cb641a..56219f9 100644
--- a/make_modeset_default.patch
+++ b/make_modeset_default.patch
@@ -1,6 +1,6 @@
--- a/kernel/nvidia-drm/nvidia-drm-linux.c
+++ b/kernel/nvidia-drm/nvidia-drm-linux.c
-@@ -41,8 +41,8 @@
+@@ -47,15 +47,15 @@
MODULE_PARM_DESC(
modeset,
@@ -10,4 +10,14 @@
+bool nv_drm_modeset_module_param = true;
module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400);
- void *nv_drm_calloc(size_t nmemb, size_t size)
+ #if defined(NV_DRM_FBDEV_GENERIC_AVAILABLE)
+ MODULE_PARM_DESC(
+ fbdev,
+- "Create a framebuffer device (1 = enable, 0 = disable (default))
(EXPERIMENTAL)");
+-bool nv_drm_fbdev_module_param = false;
++ "Create a framebuffer device (1 = enable (default), 0 = disable)
(EXPERIMENTAL)");
++bool nv_drm_fbdev_module_param = true;
+ module_param_named(fbdev, nv_drm_fbdev_module_param, bool, 0400);
+ #endif
+
+
Show replies by date