x11-drivers/nvidia-drivers: require MMU_NOTIFIER with kernel-open

Closes: https://bugs.gentoo.org/843827
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-05-11 22:24:39 -04:00
parent 5ebd24e8a9
commit 7b2d2274e0

View File

@@ -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)