Merge branch 'revert-427c5bdd' into 'master'

Revert "Add nouveau support"

See merge request risingprismtv/single-gpu-passthrough!9
This commit is contained in:
Risingprism 2020-12-24 02:10:28 +00:00
commit eb0dd93e13

View File

@ -66,7 +66,7 @@ if test -e "/tmp/vfio-is-nvidia" ; then
rm -f /tmp/vfio-is-nvidia
fi
if lsmod | grep "nvidia" &> /dev/null || lsmod | grep "nouveau" &> /dev/null ; then
if lsmod | grep "nvidia" &> /dev/null ; then
echo "true" >> /tmp/vfio-is-nvidia
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
fi