Skip to content

asahi: Fix batch writer_syncobj cleanup

Asahi Lina requested to merge asahilina/mesa:agx/batch-tracking-cleanup-fix into main

When an ACTIVE batch takes over the active writer role from a SUBMITTED batch, the written BO has the syncobj from the latter even though the writer is the former. This is correct and an intended state, but it means that then we can't gate the syncobj cleanup in agx_batch_cleanup on being the active writer, since the SUBMITTED batch won't be.

Fixes: #18 (closed)

Merge request reports