summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-05-11 22:24:39 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-05-11 22:40:39 -0400
commit7b2d2274e07fe5f2b92c0e41bdd76211e09b5cb0 (patch)
treea4d3c0945deee14cb3e7cfb3680fe11caa1f5e44
parentsys-apps/dbus-broker: bump up to 30 (diff)
downloadgentoo-7b2d2274e07fe5f2b92c0e41bdd76211e09b5cb0.tar.gz
gentoo-7b2d2274e07fe5f2b92c0e41bdd76211e09b5cb0.tar.bz2
gentoo-7b2d2274e07fe5f2b92c0e41bdd76211e09b5cb0.zip
x11-drivers/nvidia-drivers: require MMU_NOTIFIER with kernel-open
Closes: https://bugs.gentoo.org/843827 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-515.43.04.ebuild5
1 files changed, 5 insertions, 0 deletions
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)