mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
853f4a5829
* feat: Split NVIDIA into current and legacy branches * cleanup: Module variant no longer applicable * fix: Some sources and anda.hcl files I missed * fix: More * chore: Bump release on packages that had changed dependencies * chore: Bump release on all non-legacy packages * fix: Oops * More cleanup for kernel/kernel open changes * cleanup: Weird line * fix: Missed that
14 lines
1.0 KiB
Plaintext
14 lines
1.0 KiB
Plaintext
# Device nodes are created by nvidia-modprobe, which is called by the nvidia DDX.
|
|
# In case the DDX is not started, the device nodes are never created, so call
|
|
# nvidia-modprobe in the udev rules to cover the Wayland/EGLStream and compute
|
|
# case without a started display.
|
|
ACTION=="add|bind", KERNEL=="nvidia", RUN+="/usr/bin/nvidia-modprobe"
|
|
|
|
# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
|
|
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
|
|
ACTION=="bind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"
|
|
|
|
# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind
|
|
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
|
|
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"
|