panfrost: Make sure the BO is 'ready' when picked from the cache
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 31 Aug 2019 16:51:20 +0000 (18:51 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 3 Oct 2019 20:55:38 +0000 (16:55 -0400)
commit2225383af8b848a59e1a21335ee19b3845292671
tree5d16da6df86f722bb4e9ba12d0a868895a45a3df
parent22190bc27b93b8314db481dbf6002eeae6e39f62
panfrost: Make sure the BO is 'ready' when picked from the cache

This is needed if we want to free the panfrost_batch object at submit
time in order to not have to GC the batch on the next job submission.

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