panfrost: Don't return imported/exported BOs to the cache
authorBoris Brezillon <boris.brezillon@collabora.com>
Sat, 14 Sep 2019 09:46:44 +0000 (11:46 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 18 Sep 2019 08:35:52 +0000 (10:35 +0200)
commit9af4aeaaf7c88c80718caf10041e63545b202e2b
tree86e72b83dff8cbe7b395e309b2164fd215c28704
parent90b8934547aa53779a5e6040ef6cce3bbfb4953c
panfrost: Don't return imported/exported BOs to the cache

We don't know who else is using the BO in that case, and thus shouldn't
re-use it for something else.

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