Re: [Mesa-dev] [PATCH v3 14/25] panfrost: Move the fence creation in panfrost_flush()

2019-09-05 Thread Alyssa Rosenzweig
Reviewed-by: Alyssa Rosenzweig On Thu, Sep 05, 2019 at 09:41:39PM +0200, Boris Brezillon wrote: > panfrost_flush() is about to be reworked to flush all pending batches, > but we want the fence to block on the last one. Let's move the fence > creation logic in panfrost_flush() to prepare for this

[Mesa-dev] [PATCH v3 14/25] panfrost: Move the fence creation in panfrost_flush()

2019-09-05 Thread Boris Brezillon
panfrost_flush() is about to be reworked to flush all pending batches, but we want the fence to block on the last one. Let's move the fence creation logic in panfrost_flush() to prepare for this situation. Signed-off-by: Boris Brezillon --- src/gallium/drivers/panfrost/pan_context.c | 13 +++