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_context.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/freedreno/freedreno_context.c') 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); -- cgit v1.2.3