v3dv: ignore imported BOs when tracking BO memory usage
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 11 Nov 2022 11:58:10 +0000 (12:58 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 17 Nov 2022 14:05:04 +0000 (14:05 +0000)
commitf100c77d0e24044c152153aa9e9b7dbf2bdb1cae
tree1251911dd782c29996e022207444d50e26dcc67f
parentde5ebe433bd783c7d1a692d543779d79f4f68b42
v3dv: ignore imported BOs when tracking BO memory usage

Imported BOs are not allocated by the device so we don't
update BO stats when they are imported. Therefore, we should
not be updating them when they are freed either.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19675>
(cherry picked from commit f14e2ca099cbc1c732020b6e1c30aaff4f652d1b)
.pick_status.json
src/broadcom/vulkan/v3dv_bo.c
src/broadcom/vulkan/v3dv_bo.h
src/broadcom/vulkan/v3dv_device.c