summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_draw.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-07-19 12:08:42 -0400
committerRob Clark <[email protected]>2016-07-30 09:23:42 -0400
commite6bfe1c7734cfbf41a763797527db6cb49fa1566 (patch)
tree2e48a32590d92ecaf31a63789b157e4daa916d69 /src/gallium/drivers/freedreno/freedreno_draw.h
parent0739bbceecbb66ffbcf14e5b73e6df222794c264 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_draw.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_draw.h2
1 files changed, 1 insertions, 1 deletions
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);
}