projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shader-packing
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
freedreno_gmem.c
diff --git
a/src/gallium/drivers/freedreno/freedreno_gmem.c
b/src/gallium/drivers/freedreno/freedreno_gmem.c
index 29f835879b42c4d76db1643219231c0b6b6826cb..bb15f0a3e164d529c4fddb02ad49fd24cf2f2ab6 100644
(file)
--- a/
src/gallium/drivers/freedreno/freedreno_gmem.c
+++ b/
src/gallium/drivers/freedreno/freedreno_gmem.c
@@
-373,15
+373,13
@@
render_sysmem(struct fd_batch *batch)
static void
flush_ring(struct fd_batch *batch)
{
static void
flush_ring(struct fd_batch *batch)
{
- /* for compute/blit batch, there is no batch->gmem, only batch->draw: */
- struct fd_ringbuffer *ring = batch->nondraw ? batch->draw : batch->gmem;
uint32_t timestamp;
int out_fence_fd = -1;
uint32_t timestamp;
int out_fence_fd = -1;
- fd_ringbuffer_flush2(ring, batch->in_fence_fd,
- batch->needs_out_fence_fd ? &out_fence_fd : NULL);
+ fd_submit_flush(batch->submit, batch->in_fence_fd,
+ batch->needs_out_fence_fd ? &out_fence_fd : NULL,
+ ×tamp);
- timestamp = fd_ringbuffer_timestamp(ring);
fd_fence_populate(batch->fence, timestamp, out_fence_fd);
}
fd_fence_populate(batch->fence, timestamp, out_fence_fd);
}