News: 0001555536

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

RadeonSI Lands Shared Virtual Memory "SVM" Support For Mesa 25.2

([Mesa] 6 Hours Ago RadeonSI SVM)


Adding to the many graphics driver features to look forward to with next quarter's [1]Mesa 25.2 release is now Shared Virtual Memory (SVM) support for the RadeonSI Gallium3D driver.

[2]Shared Virtual Memory allows for sharing of pointers and pointer-containing data structures easily between host and device code with it being an important feature of OpenCL 2.0+. SVM also provides memory model consistency guarantees for greater coherency.

Back in May the Mesa Rust-based Rusticl OpenCL driver [3]merged support for SVM and since then Red Hat engineer Karol Herbst took to working on SVM support for the Intel Iris Gallium3D and AMD RadeonSI Gallium3D drivers for supporting this functionality. Two weeks ago [4]Intel Iris merged its SVM support and now RadeonSI support also squeezed in for the Mesa 25.2 release too.

[5]This merge gets that OpenCL 2.0 coarse-grained buffer SVM working on RadeonSI and exposing cl_ext_buffer_device_address.



[1] https://www.phoronix.com/search/Mesa+25.2

[2] https://www.phoronix.com/search/Shared+Virtual+Memory

[3] https://www.phoronix.com/news/Rusticl-SVM-Merged-Mesa-25.2

[4] https://www.phoronix.com/news/Intel-Iris-Mesa-SVM

[5] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35175



phoronix

A circus foreman was making the rounds inspecting the big top
when a scrawny little man entered the tent and walked up to him. "Are
you the foreman around here?" he asked timidly. "I'd like to join your
circus; I have what I think is a pretty good act."
The foreman nodded assent, whereupon the little man hurried over to
the main pole and rapidly climbed up to the very tip-top of the big top.
Drawing a deep breath, he hurled himself off into the air and began flapping
his arms furiously. Amazingly, rather than plummeting to his death the little
man began to fly all around the poles, lines, trapezes and other obstacles,
performing astounding feats of aerobatics which ended in a long power dive
from the top of the tent, pulling up into a gentle feet-first landing beside
the foreman, who had been nonchalantly watching the whole time.
"Well," puffed the little man. "What do you think?"
"That's all you do?" answered the foreman scornfully. "Bird
imitations?"