Module: Mesa
Branch: main
Commit: 53b01459fd9b8a026ced6ade4030596670647d36
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=53b01459fd9b8a026ced6ade4030596670647d36

Author: David Heidelberg <david.heidelb...@collabora.com>
Date:   Tue Dec 12 00:50:35 2023 +0100

rusticl: add freedreno alias for RUSTICL_ENABLE

`RUSTICL_ENABLE=msm` isn't first thought usually,
let's support the `freedreno` alias.

Suggested-by: Karol Herbst <kher...@redhat.com>
Reviewed-by: Karol Herbst <kher...@redhat.com>
Signed-off-by: David Heidelberg <david.heidelb...@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26642>

---

 src/gallium/frontends/rusticl/mesa/pipe/device.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/frontends/rusticl/mesa/pipe/device.rs 
b/src/gallium/frontends/rusticl/mesa/pipe/device.rs
index cb34580fc72..e9b49901a3e 100644
--- a/src/gallium/frontends/rusticl/mesa/pipe/device.rs
+++ b/src/gallium/frontends/rusticl/mesa/pipe/device.rs
@@ -75,6 +75,7 @@ fn get_enabled_devs() -> HashMap<String, u32> {
 
                 let driver_str = match driver_str[0] {
                     "llvmpipe" | "lp" => "swrast",
+                    "freedreno" => "msm",
                     a => a,
                 };
 

Reply via email to