https://bugs.freedesktop.org/show_bug.cgi?id=97500
--- Comment #3 from Micael Bergeron micaelbergeron@gmail.com --- I also have this behavior on Linux 4.7.2 I tried either to unbind on /sys/bus/pci/drivers/amdgpu/unbind or remove the device and trigger a rescan using /sys/bus/pci/devices/.../remove, /sys/bus/pci/rescan.
I have kernel panics and/or system hangs either way. It would be awesome to be able to yield the GPU to a VM then claim it back when finished.