aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/etnaviv/drm/etnaviv_cmd_stream.c9
-rw-r--r--src/etnaviv/drm/etnaviv_drmif.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/src/etnaviv/drm/etnaviv_cmd_stream.c b/src/etnaviv/drm/etnaviv_cmd_stream.c
index 894ad603c08..a38aebf282c 100644
--- a/src/etnaviv/drm/etnaviv_cmd_stream.c
+++ b/src/etnaviv/drm/etnaviv_cmd_stream.c
@@ -246,15 +246,6 @@ void etna_cmd_stream_flush2(struct etna_cmd_stream *stream,
reset_buffer(stream);
}
-void etna_cmd_stream_finish(struct etna_cmd_stream *stream)
-{
- struct etna_cmd_stream_priv *priv = etna_cmd_stream_priv(stream);
-
- flush(stream, -1, NULL);
- etna_pipe_wait(priv->pipe, priv->last_timestamp, 5000);
- reset_buffer(stream);
-}
-
void etna_cmd_stream_reloc(struct etna_cmd_stream *stream,
const struct etna_reloc *r)
{
diff --git a/src/etnaviv/drm/etnaviv_drmif.h b/src/etnaviv/drm/etnaviv_drmif.h
index 6bdd3cb835a..150eaff1943 100644
--- a/src/etnaviv/drm/etnaviv_drmif.h
+++ b/src/etnaviv/drm/etnaviv_drmif.h
@@ -146,7 +146,6 @@ uint32_t etna_cmd_stream_timestamp(struct etna_cmd_stream *stream);
void etna_cmd_stream_flush(struct etna_cmd_stream *stream);
void etna_cmd_stream_flush2(struct etna_cmd_stream *stream, int in_fence_fd,
int *out_fence_fd);
-void etna_cmd_stream_finish(struct etna_cmd_stream *stream);
static inline uint32_t etna_cmd_stream_avail(struct etna_cmd_stream *stream)
{