From c98ea7d2c9b87be2b7cf0e8565b91801dd1d970d Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 21 May 2026 17:27:33 +0200 Subject: [PATCH] util,asahi: move drirc entries with no_fp16 to asahi Asahi is the only driver using them, also rename to asahi_no_fp16. Signed-off-by: Samuel Pitoiset Part-of: --- src/gallium/drivers/asahi/agx_pipe.c | 2 +- src/gallium/drivers/asahi/driinfo_asahi.h | 2 +- src/util/00-asahi-defaults.conf | 34 +++++++++++++++++++++++ src/util/00-mesa-defaults.conf | 33 ---------------------- src/util/driconf.h | 11 +++++--- 5 files changed, 43 insertions(+), 39 deletions(-) diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index f9e006a8596..b3420c76f03 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -2445,7 +2445,7 @@ agx_screen_create(int fd, struct renderonly *ro, /* Forward no16 flag from driconf. This must happen after opening the device, * since agx_open_device sets debug. */ - if (driQueryOptionb(config->options, "no_fp16")) + if (driQueryOptionb(config->options, "asahi_no_fp16")) agx_screen->dev.debug |= AGX_DBG_NO16; int ret = diff --git a/src/gallium/drivers/asahi/driinfo_asahi.h b/src/gallium/drivers/asahi/driinfo_asahi.h index e9eb7ea849d..85e832678f3 100644 --- a/src/gallium/drivers/asahi/driinfo_asahi.h +++ b/src/gallium/drivers/asahi/driinfo_asahi.h @@ -2,5 +2,5 @@ /* clang-format off */ DRI_CONF_SECTION_MISCELLANEOUS - DRI_CONF_NO_FP16(false) + DRI_CONF_ASAHI_NO_FP16(false) DRI_CONF_SECTION_END diff --git a/src/util/00-asahi-defaults.conf b/src/util/00-asahi-defaults.conf index 73a3fab0723..32006f78155 100644 --- a/src/util/00-asahi-defaults.conf +++ b/src/util/00-asahi-defaults.conf @@ -44,5 +44,39 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 6acc3bbf267..9368cc0d3d1 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -708,39 +708,6 @@