From 7b2d2274e07fe5f2b92c0e41bdd76211e09b5cb0 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Wed, 11 May 2022 22:24:39 -0400 Subject: x11-drivers/nvidia-drivers: require MMU_NOTIFIER with kernel-open Closes: https://bugs.gentoo.org/843827 Signed-off-by: Ionen Wolkens --- x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'x11-drivers') diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild index c1126b0e79a6..9dc25eafb693 100644 --- a/x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild +++ b/x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild @@ -106,6 +106,11 @@ pkg_setup() { use amd64 && kernel_is -ge 5 8 && CONFIG_CHECK+=" X86_PAT" #817764 + use kernel-open && CONFIG_CHECK+=" MMU_NOTIFIER" #843827 + 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." + MODULE_NAMES=" nvidia(video:kernel) nvidia-drm(video:kernel) -- cgit v1.2.3-65-gdbad