summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mykola Orliuk <virkony@gmail.com> 2017-08-07 22:32:45 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-09-24 12:42:09 +0200
commit388f14a719a24c9477e278890bfef3ceddc6f3be (patch)
tree0dcb91f7aaa9bb66667d5ca688635b749fb66c02
parent4c4139d6a09a589dddf03eb2dea08e5f890756bf (diff)
downloadhardware-388f14a719a24c9477e278890bfef3ceddc6f3be.tar.gz
hardware-388f14a719a24c9477e278890bfef3ceddc6f3be.tar.xz
nvidia-drivers: add nvidia-drm module
Change-Id: Ibdc11774eca505cd1af77ff5bb62bd49008dd34c Reviewed-on: https://galileo.mailstation.de/gerrit/9788 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/x11-drivers/nvidia-drivers/nvidia-drivers.exlib4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/x11-drivers/nvidia-drivers/nvidia-drivers.exlib b/packages/x11-drivers/nvidia-drivers/nvidia-drivers.exlib
index 30436cc..d95fbd6 100644
--- a/packages/x11-drivers/nvidia-drivers/nvidia-drivers.exlib
+++ b/packages/x11-drivers/nvidia-drivers/nvidia-drivers.exlib
@@ -98,6 +98,10 @@ if ever at_least 358.16; then
NVIDIA_DRIVER_MODULES+=( "nvidia-modeset /kernel/drivers/video" )
fi
+if ever at_least 384.59; then
+ NVIDIA_DRIVER_MODULES+=( "nvidia-drm /kernel/drivers/video" )
+fi
+
nvidia-drivers_generate_dkms_modules() {
local module n=0
for module in "${NVIDIA_DRIVER_MODULES[@]}"; do