AMDGPU Patches Under Discussion For Better External GPU Hot Unplug Handling

Written by Michael Larabel in Radeon on 10 May 2020 at 12:00 AM EDT. 22 Comments
RADEON
While Radeon graphics cards can work with various external GPU (eGPU) solutions, currently on Linux if trying to hot unplug such a setup can lead to various problems. An experimental patch series out this weekend is seeking to address that problem.

Andrey Grodzovsky of AMD sent out a patch series in trying to address the issue of when hot unplugging a graphics card (namely through eGPU solutions or also through possible sysfs interfaces) that it would cause "random crashes in user apps."

These random crashes for applications during hot unplugs of Radeon graphics cards stem from the buffer object handling in issues when the backing device disappears.

This RFC patch series aims to address the problem for the AMDGPU kernel driver. There still are some open design questions for more robust handling, but at least so far these patches would be a step forward for Radeon Linux users who rely upon an external GPU configuration and in fact hot unplug their graphics card. We'll see where this work leads but for now is just floating around the dri-devel mailing list for discussion.
Related News
About The Author
Michael Larabel

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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week