panfrost: Make panfrost_bo_wait take a wait_readers bool
authorIcecream95 <ixn@keemail.me>
Fri, 17 Jul 2020 23:36:36 +0000 (11:36 +1200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Jul 2020 01:36:59 +0000 (01:36 +0000)
commit858cc13eb28e4b034e1ce6fb5b2d0a49f0d97534
treeac3c06e92d058ff3c402bb500b034442b544c574
parent5b380483476523f1dfa52f284c60667b78e55a2b
panfrost: Make panfrost_bo_wait take a wait_readers bool

panfrost_bo_wait is often used after
panfrost_flush_batches_accessing_bo, so make them take similar
arguments for consistency.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5962>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_resource.c
src/panfrost/encoder/pan_bo.c
src/panfrost/encoder/pan_bo.h