How to blacklist amdgpu driver?

On my testing laptop I’ve got 2 GPU. I found out theamdgpu driver is disturbing in suspend. I want to uninstall or blacklist it.

Add the following line to /etc/modprobe.d/blacklist.conf

blacklist amdgpu

As initramfs contains modprobe configuration, update the initramfs and reboot:

sudo update-initramfs -u && sudo reboot

Check whether the driver blacklisted or not, the following command should output nothing.

lsmod | grep amdgpu

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Â