From e6bfe1c7734cfbf41a763797527db6cb49fa1566 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Tue, 19 Jul 2016 12:08:42 -0400 Subject: freedreno: move needs_wfi into batch This is also used in gmem code, which executes from the "bottom half" (ie. from the flush_queue worker thread), so it cannot be in fd_context. Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/freedreno_draw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/freedreno/freedreno_draw.h') diff --git a/src/gallium/drivers/freedreno/freedreno_draw.h b/src/gallium/drivers/freedreno/freedreno_draw.h index 60cd9c09881..18a50379ef3 100644 --- a/src/gallium/drivers/freedreno/freedreno_draw.h +++ b/src/gallium/drivers/freedreno/freedreno_draw.h @@ -93,7 +93,7 @@ fd_draw(struct fd_batch *batch, struct fd_ringbuffer *ring, emit_marker(ring, 7); - fd_reset_wfi(batch->ctx); + fd_reset_wfi(batch); } -- cgit v1.2.3