From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AD1FF1580E0 for ; Sat, 01 Feb 2025 01:31:43 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9AC6F34317A for ; Sat, 01 Feb 2025 01:31:43 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 907951103B6; Sat, 01 Feb 2025 01:31:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 83EF11103B6 for ; Sat, 01 Feb 2025 01:31:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FBD934316C for ; Sat, 01 Feb 2025 01:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E23B11A7 for ; Sat, 01 Feb 2025 01:31:40 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1738373175.3cfd7a4f51f154d59f90ca04d399ff26db56fff3.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/nvidia-drivers/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild X-VCS-Directories: x11-drivers/nvidia-drivers/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 3cfd7a4f51f154d59f90ca04d399ff26db56fff3 X-VCS-Branch: master Date: Sat, 01 Feb 2025 01:31:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: abde228a-100f-4f82-88cf-03f64a513c89 X-Archives-Hash: 664a87ef9a14508d6a342e8beee6d361 commit: 3cfd7a4f51f154d59f90ca04d399ff26db56fff3 Author: Ionen Wolkens gentoo org> AuthorDate: Sat Feb 1 01:12:36 2025 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sat Feb 1 01:26:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cfd7a4f x11-drivers/nvidia-drivers: check for CONFIG_DRM_FBDEV_EMULATION Should've known about this given the TTM bit, but kind of forgot. Keep it optional, like the rest of the DRM bits a system can work without these if you know what you're doing (e.g. disabled KMS_HELPER needs modeset=0 and a custom Xorg.conf). TTM on the other hand is required *if* FBDEV is enabled else it results in a build failure on recent kernels. Plans is mostly to make most people enable it before we do the switch "eventually". For what it's worth, only check in 570+ given there's no plans to ever enable fbdev=1 by default in old branches, legacy ones did not even support it. Bug: https://bugs.gentoo.org/949097 Signed-off-by: Ionen Wolkens gentoo.org> x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild index 068810f548aa..7c35e53a4a89 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-570.86.16-r1.ebuild @@ -106,6 +106,7 @@ pkg_setup() { local CONFIG_CHECK=" PROC_FS ~DRM_KMS_HELPER + ~DRM_FBDEV_EMULATION ~SYSVIPC ~!LOCKDEP ~!PREEMPT_RT @@ -131,6 +132,9 @@ pkg_setup() { local ERROR_DRM_TTM_HELPER="CONFIG_DRM_TTM_HELPER: is not set but is needed to compile when using kernel version 6.11.x or newer while DRM_FBDEV_EMULATION is set. ${drm_helper_msg}" + local ERROR_DRM_FBDEV_EMULATION="CONFIG_DRM_FBDEV_EMULATION: is not set but is needed for + nvidia-drm.fbdev=1 support, currently off-by-default and it could + be ignored, but note that is due to change in the future." local ERROR_MMU_NOTIFIER="CONFIG_MMU_NOTIFIER: is not set but needed to build with USE=kernel-open. Cannot be directly selected in the kernel's menuconfig, and may need selection of another option that requires it such as CONFIG_KVM."