RADV Vulkan Driver's PRIME Code Rewritten
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:
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 new PRIME support for RADV amounts to over two hundred lines of new code.
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.
20 Comments