AMDGPU Patches Revived For Better Hot Device Unplug / External GPU Handling
Written by Michael Larabel in Radeon on 21 June 2020 at 08:59 AM EDT. 1 Comment
RADEON --
More than one month ago we reported on AMDGPU patches proposed for better hot unplug handling, mainly for the use-case of external GPU solutions if disconnecting them while the system is still running to avoid a range of show-stopping problems. It's been a quiet few weeks but that work has now seen a new revision.

AMD driver developer Andrey Grodzovsky sent out the second version of this hot device unplug handling for AMDGPU but even with the improvements is still considered a proof of concept state. The hope once these patches are fully vetted is to avoid application crashes and other problems that current can happen when unplugging an "eGPU" or otherwise emulating a GPU unplug/remove event via sysfs.

This new version of the hot unplug handling follows feedback on the original patch proposal, better handling around what happens to the buffer objects when the GPU is disconnected, and other changes. But there still are some issues coming up with this code to be addressed before it could be considered for integrating into a future Linux kernel release.

Those with an external GPU setup can find the "v2" patches via this mailing list thread.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week