rusticl: allow packagers to enable freedreno by default

The msm driver hasn't yet passed conformance, so it's not part of the
auto set at this point in time. But this will allow distribution to
enable it by default, if they find it suitable.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35618>
This commit is contained in:
Karol Herbst 2025-04-20 13:52:33 +02:00 committed by Marge Bot
parent bc10c812d6
commit de1ce0f75e
2 changed files with 3 additions and 1 deletions

View file

@ -155,7 +155,7 @@ option(
option(
'gallium-rusticl-enable-drivers',
type : 'array',
value : ['auto', 'asahi', 'radeonsi'],
value : ['auto', 'asahi', 'freedreno', 'radeonsi'],
description : 'List of gallium drivers for which rusticl will be enabled ' +
'by default',
)

View file

@ -64,6 +64,8 @@ fn get_enabled_devs() -> HashMap<String, u32> {
let default_devs: &[&str] = &[
#[cfg(any(rusticl_enable_asahi, rusticl_enable_auto))]
"asahi",
#[cfg(rusticl_enable_freedreno)]
"freedreno",
#[cfg(rusticl_enable_radeonsi)]
"radeonsi",
];