Mesa (master): freedreno/a6xx: remove unused fxns
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Oct 8 23:09:11 UTC 2018
Module: Mesa
Branch: master
Commit: 60af89815e0fc9f38d9cf3af61b52e61b0397c88
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=60af89815e0fc9f38d9cf3af61b52e61b0397c88
Author: Rob Clark <robdclark at gmail.com>
Date: Fri Oct 5 09:14:59 2018 -0400
freedreno/a6xx: remove unused fxns
Signed-off-by: Rob Clark <robdclark at gmail.com>
---
src/gallium/drivers/freedreno/a6xx/fd6_context.h | 12 ------------
src/gallium/drivers/freedreno/a6xx/fd6_emit.h | 7 -------
2 files changed, 19 deletions(-)
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_context.h b/src/gallium/drivers/freedreno/a6xx/fd6_context.h
index 9676a2ed95..819c55c89e 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_context.h
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_context.h
@@ -115,18 +115,6 @@ fd6_context(struct fd_context *ctx)
struct pipe_context *
fd6_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags);
-/* helper for places where we need to stall CP to wait for previous draws: */
-static inline void
-fd6_emit_flush(struct fd_context *ctx, struct fd_ringbuffer *ring)
-{
- OUT_PKT7(ring, CP_EVENT_WRITE, 4);
- OUT_RING(ring, CACHE_FLUSH_TS);
- OUT_RELOCW(ring, fd6_context(ctx)->blit_mem, 0, 0, 0); /* ADDR_LO/HI */
- OUT_RING(ring, 0x00000000);
-
- OUT_WFI5(ring);
-}
-
static inline void
emit_marker6(struct fd_ringbuffer *ring, int scratch_idx)
{
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
index d50401327e..45e9f2ddc5 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_emit.h
@@ -65,13 +65,6 @@ struct fd6_emit {
unsigned streamout_mask;
};
-static inline enum a6xx_color_fmt fd6_emit_format(struct pipe_surface *surf)
-{
- if (!surf)
- return 0;
- return fd6_pipe2color(surf->format);
-}
-
static inline const struct ir3_shader_variant *
fd6_emit_get_vp(struct fd6_emit *emit)
{
More information about the mesa-commit
mailing list