News: 0001496375

  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)

Mesa 24.3 Adds New Build Option To Allow Rusticl Driver Support To Be Enabled By Default

([Mesa] 98 Minutes Ago Rusticl Default)


Red Hat engineer Karol Herbst continues enhancing Mesa's Rusticl driver that allows for a Rust-based OpenCL driver implementation for use by Gallium3D drivers. The newest addition is a build-time option for controlling devices to be enabled by default.

Given the maturing state of the Rusticl code, Karol has added the infrastructure to allow controlling the devices to be enabled by default at build time. Further patches are expected soon to further update the default behavior of Rusticl driver support on Mesa.

The new "gallium-rusticl-enable-drivers" build-time option allows opting in or out of certain drivers for the default support. At run-time the default support for Rusticl drivers can still be controlled using the "RUSTICL_ENABLE" environment variable. The gallium-rusticl-enable-drivers option also allows an "auto"value for the recommended set of drivers to enable Rusticl support by default as determined by the Mesa developers and ideally a good set to use by distribution vendors for the out-of-the-box experience.

See [1]this merge that landed yesterday in Mesa 24.3-devel for more details on the new gallium-rusticl-enable-drivers build option.



[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31202?commit_id=f3f4f0fb8342a72bbb9da0797e7c259e9bad8cba



phoronix

I always wake up at the crack of ice.
-- Joe E. Lewis