From 695aef7f5afad636d1a7df7bc15e2135953412a2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 22 Oct 2023 11:00:07 -0400 Subject: [PATCH] asahi: rm unused deqp debug flag Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/agx_device.h | 2 +- src/gallium/drivers/asahi/agx_pipe.c | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/src/asahi/lib/agx_device.h b/src/asahi/lib/agx_device.h index d8b637f3f80..ef5a089a108 100644 --- a/src/asahi/lib/agx_device.h +++ b/src/asahi/lib/agx_device.h @@ -14,7 +14,7 @@ enum agx_dbg { AGX_DBG_TRACE = BITFIELD_BIT(0), - AGX_DBG_DEQP = BITFIELD_BIT(1), + /* bit 1 unused */ AGX_DBG_NO16 = BITFIELD_BIT(2), AGX_DBG_DIRTY = BITFIELD_BIT(3), AGX_DBG_PRECOMPILE = BITFIELD_BIT(4), diff --git a/src/gallium/drivers/asahi/agx_pipe.c b/src/gallium/drivers/asahi/agx_pipe.c index 6bf5e892c66..0173ea8c9c3 100644 --- a/src/gallium/drivers/asahi/agx_pipe.c +++ b/src/gallium/drivers/asahi/agx_pipe.c @@ -52,7 +52,6 @@ /* clang-format off */ static const struct debug_named_value agx_debug_options[] = { {"trace", AGX_DBG_TRACE, "Trace the command stream"}, - {"deqp", AGX_DBG_DEQP, "Hacks for dEQP"}, {"no16", AGX_DBG_NO16, "Disable 16-bit support"}, {"perf", AGX_DBG_PERF, "Print performance warnings"}, #ifndef NDEBUG @@ -2193,19 +2192,6 @@ agx_screen_create(int fd, struct renderonly *ro, return NULL; } - if (agx_screen->dev.debug & AGX_DBG_DEQP) { - /* You're on your own. */ - static bool warned_about_hacks = false; - - if (!warned_about_hacks) { - agx_msg("\n------------------\n" - "Unsupported debug parameter set. Expect breakage.\n" - "Do not report bugs.\n" - "------------------\n\n"); - warned_about_hacks = true; - } - } - screen->destroy = agx_destroy_screen; screen->get_screen_fd = agx_screen_get_fd; screen->get_name = agx_get_name;