Mesa (main): panfrost: Remove ancient unused code

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon May 2 14:14:35 UTC 2022


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

Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date:   Tue Apr 26 12:17:02 2022 -0400

panfrost: Remove ancient unused code

Leftover scraps.

Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16173>

---

 src/gallium/drivers/panfrost/pan_context.h | 3 ---
 src/gallium/drivers/panfrost/pan_screen.c  | 1 -
 2 files changed, 4 deletions(-)

diff --git a/src/gallium/drivers/panfrost/pan_context.h b/src/gallium/drivers/panfrost/pan_context.h
index 12644ab0cb9..9dfea147aa9 100644
--- a/src/gallium/drivers/panfrost/pan_context.h
+++ b/src/gallium/drivers/panfrost/pan_context.h
@@ -48,9 +48,6 @@
 #include "midgard/midgard_compile.h"
 #include "compiler/shader_enums.h"
 
-/* Forward declare to avoid extra header dep */
-struct prim_convert_context;
-
 #define SET_BIT(lval, bit, cond) \
 	if (cond) \
 		lval |= (bit); \
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index 00477b519c8..b6e40b1db3b 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -105,7 +105,6 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
         bool has_heap = dev->kernel_version->version_major > 1 ||
                         dev->kernel_version->version_minor >= 1;
 
-        /* Bifrost is WIP */
         switch (param) {
         case PIPE_CAP_NPOT_TEXTURES:
         case PIPE_CAP_MIXED_COLOR_DEPTH_BITS:



More information about the mesa-commit mailing list