panfrost: Fix calls to panfrost_flush_batches_accessing_bo
authorIcecream95 <ixn@keemail.me>
Fri, 17 Jul 2020 23:39:45 +0000 (11:39 +1200)
committerMarge Bot <eric+marge@anholt.net>
Sat, 18 Jul 2020 01:36:59 +0000 (01:36 +0000)
commit0ef168d513059b276fb9b70ab95af874983ab08b
tree9f5ccccd197a712ed2cf461bd804b15172df29b3
parent858cc13eb28e4b034e1ce6fb5b2d0a49f0d97534
panfrost: Fix calls to panfrost_flush_batches_accessing_bo

The function now takes a bool flush_readers instead of an access type,
but some calls were not updated.

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