panfrost: Start tracking inter-batch dependencies
authorBoris Brezillon <boris.brezillon@collabora.com>
Sun, 15 Sep 2019 11:39:52 +0000 (13:39 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 3 Oct 2019 20:55:38 +0000 (16:55 -0400)
commit2dad9fde505c7d8e97f57f4a5a3f495f902f94f2
tree06e94d35d65cd5be360f9105be5cd6dbc8e7169e
parent40a07bfbd746cca261194aba19a48589e0e32db6
panfrost: Start tracking inter-batch dependencies

The idea is to track which BO are being accessed and the type of access
to determine when a dependency exists. Thanks to that we can build a
dependency graph that will allow us to flush batches in the correct
order.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.h
src/gallium/drivers/panfrost/pan_job.c
src/gallium/drivers/panfrost/pan_job.h