Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/
Date: Thu, 20 Jan 2022 19:30:23
Message-Id: 1642707006.ee53ee5f48e755f924dec26af84099c07d8b0154.ionen@gentoo
1 commit: ee53ee5f48e755f924dec26af84099c07d8b0154
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 19:15:59 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 19:30:06 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee53ee5f
7
8 x11-drivers/nvidia-drivers: remove simpledrm warnings
9
10 Looking more closely at this, do not believe it's worth keeping
11 anymore unlike back on kernel 5.14.x -- seeing more favorable
12 reports and not to mention this affects the console which
13 nvidia-drivers has no real interaction with beside restoring the
14 mode when switching from Xorg (i.e. not this package's issue).
15
16 gentoo-kernel-bin's fedora configs for 5.16 may end up defaulting
17 to this, and the message will just be noise that can't be changed.
18
19 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
20
21 x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild | 7 +------
22 x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild | 7 +------
23 x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild | 7 +------
24 x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild | 7 +------
25 x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild | 7 +------
26 x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild | 7 +------
27 x11-drivers/nvidia-drivers/nvidia-drivers-510.39.01.ebuild | 7 +------
28 7 files changed, 7 insertions(+), 42 deletions(-)
29
30 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
31 index 9d31c7cbbde0..e7fee209d9c3 100644
32 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
33 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-390.147.ebuild
34 @@ -87,7 +87,6 @@ pkg_setup() {
35 ~DRM_KMS_HELPER
36 ~SYSVIPC
37 ~!AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
38 - ~!DRM_SIMPLEDRM
39 ~!LOCKDEP
40 !DEBUG_MUTEXES"
41 local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
42 @@ -95,11 +94,7 @@ pkg_setup() {
43 With 390.xx drivers, also used by a GLX workaround needed for OpenGL.
44 Cannot be directly selected in the kernel's menuconfig, and may need
45 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
46 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
47 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
48 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
49 - console with a NVIDIA GPU. If you experience issues, try
50 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
51 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
52
53 kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
54
55
56 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild
57 index 61cd98588ec9..6b7fc4bcc333 100644
58 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild
59 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-460.91.03-r2.ebuild
60 @@ -86,18 +86,13 @@ pkg_setup() {
61 PROC_FS
62 ~DRM_KMS_HELPER
63 ~SYSVIPC
64 - ~!DRM_SIMPLEDRM
65 ~!LOCKDEP
66 !DEBUG_MUTEXES"
67 local ERROR_DRM_KMS_HELPER="CONFIG_DRM_KMS_HELPER: is not set but needed for Xorg auto-detection
68 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
69 Cannot be directly selected in the kernel's menuconfig, and may need
70 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
71 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
72 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
73 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
74 - console with a NVIDIA GPU. If you experience issues, try
75 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
76 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
77
78 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
79
80
81 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
82 index d8e4a49beeb8..831c5ece32fc 100644
83 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
84 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.62.16.ebuild
85 @@ -89,7 +89,6 @@ pkg_setup() {
86 PROC_FS
87 ~DRM_KMS_HELPER
88 ~SYSVIPC
89 - ~!DRM_SIMPLEDRM
90 ~!LOCKDEP
91 ~!SLUB_DEBUG_ON
92 !DEBUG_MUTEXES"
93 @@ -97,11 +96,7 @@ pkg_setup() {
94 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
95 Cannot be directly selected in the kernel's menuconfig, and may need
96 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
97 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
98 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
99 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
100 - console with a NVIDIA GPU. If you experience issues, try
101 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
102 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
103
104 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
105
106
107 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
108 index f3cf9ad5a687..b9cffc23b584 100644
109 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
110 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-470.94.ebuild
111 @@ -89,7 +89,6 @@ pkg_setup() {
112 PROC_FS
113 ~DRM_KMS_HELPER
114 ~SYSVIPC
115 - ~!DRM_SIMPLEDRM
116 ~!LOCKDEP
117 ~!SLUB_DEBUG_ON
118 !DEBUG_MUTEXES"
119 @@ -97,11 +96,7 @@ pkg_setup() {
120 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
121 Cannot be directly selected in the kernel's menuconfig, and may need
122 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
123 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
124 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
125 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
126 - console with a NVIDIA GPU. If you experience issues, try
127 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
128 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
129
130 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
131
132
133 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
134 index 9450abe262e9..06cbc4cb8e37 100644
135 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
136 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.44-r2.ebuild
137 @@ -91,7 +91,6 @@ pkg_setup() {
138 PROC_FS
139 ~DRM_KMS_HELPER
140 ~SYSVIPC
141 - ~!DRM_SIMPLEDRM
142 ~!LOCKDEP
143 ~!SLUB_DEBUG_ON
144 !DEBUG_MUTEXES"
145 @@ -99,11 +98,7 @@ pkg_setup() {
146 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
147 Cannot be directly selected in the kernel's menuconfig, and may need
148 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
149 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
150 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
151 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
152 - console with a NVIDIA GPU. If you experience issues, try
153 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
154 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
155
156 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
157
158
159 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
160 index 79114a2201a3..a9721ecd11e4 100644
161 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
162 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-495.46-r10.ebuild
163 @@ -91,7 +91,6 @@ pkg_setup() {
164 PROC_FS
165 ~DRM_KMS_HELPER
166 ~SYSVIPC
167 - ~!DRM_SIMPLEDRM
168 ~!LOCKDEP
169 ~!SLUB_DEBUG_ON
170 !DEBUG_MUTEXES"
171 @@ -99,11 +98,7 @@ pkg_setup() {
172 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
173 Cannot be directly selected in the kernel's menuconfig, and may need
174 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
175 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
176 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
177 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
178 - console with a NVIDIA GPU. If you experience issues, try
179 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
180 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
181
182 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764
183
184
185 diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-510.39.01.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-510.39.01.ebuild
186 index d4362145a76a..8c2de5023e60 100644
187 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-510.39.01.ebuild
188 +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-510.39.01.ebuild
189 @@ -90,7 +90,6 @@ pkg_setup() {
190 PROC_FS
191 ~DRM_KMS_HELPER
192 ~SYSVIPC
193 - ~!DRM_SIMPLEDRM
194 ~!LOCKDEP
195 ~!SLUB_DEBUG_ON
196 !DEBUG_MUTEXES"
197 @@ -98,11 +97,7 @@ pkg_setup() {
198 of drivers (no custom config), and for wayland / nvidia-drm.modeset=1.
199 Cannot be directly selected in the kernel's menuconfig, and may need
200 selection of a DRM device even if unused, e.g. CONFIG_DRM_AMDGPU=m or
201 - DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in.
202 - Note: DRM_SIMPLEDRM may cause issues and may be better disabled for now."
203 - local ERROR_DRM_SIMPLEDRM="CONFIG_DRM_SIMPLEDRM: is set but may or may not lead to a blank
204 - console with a NVIDIA GPU. If you experience issues, try
205 - disabling it and instead use FB_EFI or FB_SIMPLE for now."
206 + DRM_I915=y, DRM_NOUVEAU=m also acceptable if a module and not built-in."
207
208 use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764