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: