panfrost: Start tracking inter-batch dependencies

Graphics / Mesa 3D Graphics Library / Mesa - Boris Brezillon [collabora.com] - 3 October 2019 20:55 EDT

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.

2dad9fde505 panfrost: Start tracking inter-batch dependencies
src/gallium/drivers/panfrost/pan_context.h | 3 +
src/gallium/drivers/panfrost/pan_job.c | 355 ++++++++++++++++++++++++++++-
src/gallium/drivers/panfrost/pan_job.h | 3 +
3 files changed, 356 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share