anv/utrace: use a bo pool for utrace buffers
When utrace/perfetto is active, we allocate/free utrace buffers at the same rate as command buffers. It's useful to have a pool that avoids GEM_CREATE/GEM_CLOSE ioctls. v2: Use the pool more Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16613>
This commit is contained in:

committed by
Marge Bot

parent
0b92636b62
commit
c67c9688c3
@@ -1170,6 +1170,7 @@ struct anv_device {
|
||||
struct list_head memory_objects;
|
||||
|
||||
struct anv_bo_pool batch_bo_pool;
|
||||
struct anv_bo_pool utrace_bo_pool;
|
||||
|
||||
struct anv_bo_cache bo_cache;
|
||||
|
||||
|
Reference in New Issue
Block a user