panfrost: Add flags to reflect the BO imported/exported state
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 15:11:03 +0000 (17:11 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Thu, 3 Oct 2019 20:55:38 +0000 (16:55 -0400)
commit22190bc27b93b8314db481dbf6002eeae6e39f62
tree38bd030309f3d0f7b77be18d5760517b03c780a3
parent82399b58d3250d974cb6a74c3aa96f6f2fbafef0
panfrost: Add flags to reflect the BO imported/exported state

Will be useful to make the ioctl(WAIT_BO) call conditional on BOs that
are not exported/imported (meaning that all GPU accesses are known
by the context).

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