Quoting Kenneth Graunke (2017-09-06 01:09:34)
> We don't need to special case the batch - when we add the batch to the
> validation list, we can simply increase the refcount to 2, and when we
> make a new batch, we'll drop it back down to 1 (when unreferencing all
> buffers in the validation list).
We don't need to special case the batch - when we add the batch to the
validation list, we can simply increase the refcount to 2, and when we
make a new batch, we'll drop it back down to 1 (when unreferencing all
buffers in the validation list). The final reference is still held by
brw->batch.bo,