Apply Patch
This commit is contained in:
parent
bda16dd95c
commit
cffb8344a4
@ -1 +1,2 @@
|
||||
nvidia-modprobe /usr/bin/
|
||||
nvidia-modprobe /usr/bin/
|
||||
extra_files/nvidia-create-device-nodes /usr/bin/
|
@ -5,11 +5,7 @@
|
||||
# nvidia-modprobe should not be invoked.
|
||||
ACTION=="add|bind", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
|
||||
DRIVER=="nvidia", TEST!="/dev/nvidia-uvm", \
|
||||
RUN+="/usr/bin/nvidia-modprobe", \
|
||||
RUN+="/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4); do /usr/bin/nvidia-modprobe -c${i} && /usr/bin/nvidia-modprobe -s -c${i}; done'", \
|
||||
RUN+="/usr/bin/nvidia-modprobe -l -m", \
|
||||
RUN+="/usr/bin/nvidia-modprobe -c0 -u", \
|
||||
RUN+="/usr/bin/nvidia-smi"
|
||||
RUN+="/usr/bin/nvidia-create-device-nodes"
|
||||
|
||||
# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind
|
||||
ACTION=="add|bind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de", \
|
||||
|
Loading…
Reference in New Issue
Block a user