diff options
Diffstat (limited to 'src/etnaviv/drm/etnaviv_drmif.h')
-rw-r--r-- | src/etnaviv/drm/etnaviv_drmif.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etnaviv/drm/etnaviv_drmif.h b/src/etnaviv/drm/etnaviv_drmif.h index 150eaff1943..7fb01c8a654 100644 --- a/src/etnaviv/drm/etnaviv_drmif.h +++ b/src/etnaviv/drm/etnaviv_drmif.h @@ -143,9 +143,9 @@ struct etna_cmd_stream *etna_cmd_stream_new(struct etna_pipe *pipe, uint32_t siz void *priv); void etna_cmd_stream_del(struct etna_cmd_stream *stream); 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, +void etna_cmd_stream_flush(struct etna_cmd_stream *stream, int in_fence_fd, int *out_fence_fd); +void etna_cmd_stream_force_flush(struct etna_cmd_stream *stream); static inline uint32_t etna_cmd_stream_avail(struct etna_cmd_stream *stream) { @@ -157,7 +157,7 @@ static inline uint32_t etna_cmd_stream_avail(struct etna_cmd_stream *stream) static inline void etna_cmd_stream_reserve(struct etna_cmd_stream *stream, size_t n) { if (etna_cmd_stream_avail(stream) < n) - etna_cmd_stream_flush(stream); + etna_cmd_stream_force_flush(stream); } static inline void etna_cmd_stream_emit(struct etna_cmd_stream *stream, uint32_t data) |