[go: up one dir, main page]

Intel Posts New Patches For GPU Shared Virtual Memory With Xe Driver

Written by Michael Larabel in Intel on 28 August 2024 at 06:40 AM EDT. 2 Comments
INTEL
Intel Linux graphics driver engineers continue to be very busy enabling the Xe Direct Rendering Manager that is becoming the default kernel graphics driver beginning with Xe2 Lunar Lake and Battlemage hardware (it currently works as an experimental option with existing Intel graphics hardware going back to Tigerlake). The latest work coming out of Intel is their latest push on enabling GPU Shared Virtual Memory (SVM) support.

GPU Shared Virtual Memory is important for seamlessly sharing memory between the system's CPU and GPU for better performance and increased programming flexibility. Tacking SVM support onto the Xe driver has been a lengthy journey and out today are the latest "request for comments" (RFC) patches on this front.

Today's patches get the GPU SVM layer built for the Xe driver and exposing a new user-space API around the Shared Virtual Memory handling. The code in its initial form is working for GPU page faults for system allocations, runtime allocations, migration to/from vRAM, and unified eviction handling.

Intel Arc graphics card


Intel engineers have successfully tested this GPU SVM code across Lunar Lake, Battlemage, and Ponte Vecchio hardware. Still to be tackled is multi-GPU support, user pointer "userptr" handling with GPU SVM, and madvise and prefetch IOCTL handling.

Those interested in this GPU Shared Virtual Memory work for the modern Intel Xe kernel graphics driver can check out these 28 RFC patches for all the details.
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