diff options
author | Rob Clark <[email protected]> | 2016-07-19 12:08:42 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-07-30 09:23:42 -0400 |
commit | e6bfe1c7734cfbf41a763797527db6cb49fa1566 (patch) | |
tree | 2e48a32590d92ecaf31a63789b157e4daa916d69 /src/gallium/drivers/freedreno/freedreno_context.c | |
parent | 0739bbceecbb66ffbcf14e5b73e6df222794c264 (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_context.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_context.c b/src/gallium/drivers/freedreno/freedreno_context.c index 599f94ffec1..269602e1496 100644 --- a/src/gallium/drivers/freedreno/freedreno_context.c +++ b/src/gallium/drivers/freedreno/freedreno_context.c @@ -188,8 +188,6 @@ fd_context_init(struct fd_context *ctx, struct pipe_screen *pscreen, util_queue_init(&ctx->flush_queue, "flush_queue", 16, 1); } - fd_reset_wfi(ctx); - util_slab_create(&ctx->transfer_pool, sizeof(struct fd_transfer), 16, UTIL_SLAB_SINGLETHREADED); |