-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nvidia-390xx-utils: Enable modeset by default
Needed as for 470xx to support 6.12 kernel: https://aur.archlinux.org/packages/nvidia-390xx-dkms#comment-999906 Signed-off-by: Vasiliy Stelmachenok <[email protected]>
- Loading branch information
Showing
3 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
nvidia/nvidia-390xx-utils/nvidia-390xx-Enable-modeset-by-default.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 57a8b850a8e0b4c3b4cf925d0d5f7fe6f5e4ca7d Mon Sep 17 00:00:00 2001 | ||
From: Vasiliy Stelmachenok <[email protected]> | ||
Date: Thu, 2 Jan 2025 15:44:33 +0300 | ||
Subject: [PATCH] nvidia-390xx: Enable modeset by default | ||
|
||
This is required by the patch to support 6.12. | ||
|
||
Signed-off-by: Vasiliy Stelmachenok <[email protected]> | ||
--- | ||
kernel/nvidia-drm/nvidia-drm-linux.c | 4 ++-- | ||
1 file changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/kernel/nvidia-drm/nvidia-drm-linux.c b/kernel/nvidia-drm/nvidia-drm-linux.c | ||
index a4c5aeb..2523350 100644 | ||
--- a/kernel/nvidia-drm/nvidia-drm-linux.c | ||
+++ b/kernel/nvidia-drm/nvidia-drm-linux.c | ||
@@ -41,8 +41,8 @@ | ||
|
||
MODULE_PARM_DESC( | ||
modeset, | ||
- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))"); | ||
-bool nv_drm_modeset_module_param = false; | ||
+ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)"); | ||
+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) | ||
-- | ||
2.47.1 | ||
|