GPU Scheduler Being Implemented For AMDGPU Kernel Driver

Written by Michael Larabel in Radeon on 31 July 2015 at 06:33 PM EDT. 13 Comments
RADEON
Alex Deucher ended out the month by releasing thirty-one patches that implement a GPU scheduler for the new AMDGPU kernel DRM driver.

The GPU scheduler is needed for proper GPU resets and optimally utilizing the available hardware resources. The 31 patches for implementing the GPU scheduler will likely be merged for the Linux 4.3 kernel. However, for now with these patches the GPU scheduler is not enabled by default. Before being enabled, Alex is pursuing better integration with kernel fences and to clean-up the scheduler involvement in the ISR.

Right now the GPU scheduler has comparable performance to the non-scheduler paths but if you want to implement this support on a patched kernel you just need to set the amdgpu.enable_scheduler=1 kernel command-line option.

While waiting for Linux 4.3 or the work to appear in DRM-Next, the code can for now be found via the kernel mailing list. If you missed my recent AMDGPU Linux 4.2 tests, see The New AMD GPU Open-Source Driver On Linux 4.2 Works, But Still A Lot Of Work Ahead.
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