Freedreno Gets Patches For A2xx NIR Backend

Written by Michael Larabel in Mesa on 20 December 2018 at 03:18 AM EST. Add A Comment
MESA
Should you still be utilizing Qualcomm Adreno 200 series graphics hardware, the open-source graphics driver support is getting better for this hardware that was Adreno's first offering a programmable pipeline and clock speeds up to 133MHz.

Recently A2xx support was added to the MSM DRM driver for using this mainline kernel driver with these Adreno 45nm OpenGL ES 2.0 GPUs. That complements the A2xx GL/GLES support within the Freedreno driver.

But while Freedreno Gallium3D has long been focused on its NIR support, it never received support for this intermediate representation on the 200 series. As a result, Freedreno with A2xx hardware has still been using Gallium's TGSI intermediate representation rather than the NIR code paths.

Now with a set of 16 patches posted on Wednesday, there is the code replacing the TGSI compiler with NIR compiler for A2xx along with other NIR plumbing in the Freedreno code. Besides switching over to this new IR, several GL features/improvements are introduced with this new back-end.

As of writing the code hasn't yet been merged to Mesa 19.0. The Adreno 200 was used by the likes of the Snapdragon S1 and S2 SoCs as well as the Freescale i.MX51/i.MX53.
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