News: 0001630259

  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)

RADV Vulkan Driver Adds Memory Protection Using AMD Trusted Memory Zone

([Radeon] 2 Hours Ago Vulkan protectedMemory)


The newest Mesa Radeon Vulkan driver "RADV" feature enabled by AMD engineers is protected memory support using the Trusted Memory Zone (TMZ) support on newer GPUs.

Vulkan memory allocations support the notion of protected memory and unprotected memory. The protected memory use-case for graphics is most commonly associated with Digital Rights Management (DRM) content or securely dealing with other encrypted content. Vulkan protected memory has been around since Vulkan 1.1 while now RADV is enabling support for the "protectedMemory" option.

This protected memory support for RADV is making use of AMD [1]Trusted Memory Zone (TMZ) hardware feature for memory encryption on recent Radeon GPUs. AMD has worked on Linux support for Trusted Memory Zone [2]going back to 2019 and is nothing new, just the difference now being that Vulkan apps can make use of it via Vulkan protected memory capabilities. [3]The RadeonSI driver already supports using TMZ as well.

Those interested in Vulkan protected memory support with AMD TMZ in RADV can find out all the details via [4]this merge for Mesa 26.2.



[1] https://www.phoronix.com/search/Trusted+Memory+Zone

[2] https://www.phoronix.com/news/AMD-Trusted-Memory-Zone

[3] https://www.phoronix.com/news/RadeonSI-EGL-Protected-TMZ

[4] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40619



I don't know half of you half as well as I should like; and I like less
than half of you half as well as you deserve.
-- J. R. R. Tolkien