v3dv/bo: add dump stats info
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 18 Jun 2020 08:59:57 +0000 (10:59 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:31 +0000 (21:21 +0000)
commit682cfd84d98c30cdc30ff76334c2f01c18e0441d
tree3fa9b6b891f9dcf5cb480682aed8b5e4a2a507b5
parentf78c99f357eee08926dcf9434c3944707837fe34
v3dv/bo: add dump stats info

Focused specially on the cache, how many BOs and how much bo_size is
store on the cache, freed bos, bos moved to cache etc.

Initially not configured with V3D_DEBUG (like v3d) to avoid a runtime
check on most of v3dv_bo functions.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_bo.c