AMD Begins Working On "GFX11" Support For Open-Source Mesa Linux Graphics (RDNA3)

Written by Michael Larabel in Radeon on 5 May 2022 at 08:33 AM EDT. 1 Comment
RADEON
Following AMD's recent AMDGPU Linux kernel patches for the "GFX11" graphics block to be found with next-gen RDNA3 GPUs, AMD has now submitted the initial Mesa-side patches for GFX11/RDNA3 with a focus on their RadeonSI Gallium3D driver.

The new code sent out yesterday adds much of the initial GFX11 support to Mesa, adding 27.5k lines of new code and removal of 1.3k lines across 78 patches -- much of the line count additions being attributed to header files and addrlib code.


GFX11 bring-up for Mesa has begun.


This enablement adds GFX11 adds GFX1100 through GFX1103 chip variants -- now just numbers rather than the different colorful fishy codenames of the past. No really exciting details revealed by this initial enablement work. One little tid-bit is now having a 128 byte cache line size rather than 64 bytes. This new code for Mesa 22.2 does build off existing GFX10 (RDNA / RDNA2) code in various areas of the driver. It also goes along with the in-progress GFX11 work being pursued in mainline LLVM for the AMDGPU LLVM shader compiler back-end.


AMD's focus within Mesa is on the RadeonSI Gallium3D OpenGL driver code. Mesa's Radeon Vulkan driver "RADV" isn't officially maintained by AMD but left up to Valve / Red Hat / the community. Internally AMD is likely already well working on their official GFX11/RDNA3 Vulkan driver support within their closed-source Vulkan driver code and what will be opened up later in the AMDVLK alternative open-source Vulkan Linux driver.

This new GFX11 code within Mesa also ties into the new VCN 4.0 video encode/decode block for video acceleration in Gallium3D.

Expect more GFX11 / RDNA3 work to continue within the Linux kernel and Mesa over the coming months. For now this code is under review but should safely make it into next quarter's Mesa 22.2 release and ideally be in good shape there for out-of-the-box support at launch when the next-generation Radeon graphics cards launch later in 2022.
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