RADV Vulkan Driver's PRIME Code Rewritten

Written by Michael Larabel in Radeon on 21 February 2017 at 06:43 AM EST. 20 Comments
Red Hat's David Airlie keeps to work on improving the open-source Radeon Vulkan driver.

David Airlie has published a rewritten version of his RADV driver patches to implement basic PRIME support for better dealing with multiple GPUs where one GPU that does the rendering may need to transfer it to another GPU for display on the same Linux system in a Vulkan world. He explained in the patch sent out this Tuesday:
This is a complete rewrite of my previous rfc patches.

This adds the ability to present to a different GPU that rendering using a driver side operation that can copy from the tiled to linear shared image.

This does prime support completely in the swapchain present code, and each queue has a precreated command buffer for each image and for the each queue family. This means presenting should work on graphics and compute queues and transfer in the future.
This new PRIME support for RADV amounts to over two hundred lines of new code.
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