iris: Mark the aux table buffers with EXEC_OBJECT_CAPTURE.

Having these could be useful when tracking down GPU hangs.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12420>
This commit is contained in:
Kenneth Graunke 2021-08-21 17:36:34 -07:00
parent 7bb4ada8e0
commit 9cc303ffbb
1 changed files with 2 additions and 1 deletions

View File

@ -1688,7 +1688,8 @@ intel_aux_map_buffer_alloc(void *driver_ctx, uint32_t size)
bo->name = "aux-map";
p_atomic_set(&bo->refcount, 1);
bo->index = -1;
bo->kflags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
bo->kflags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED |
EXEC_OBJECT_CAPTURE;
bo->mmap_mode = local ? IRIS_MMAP_WC : IRIS_MMAP_WB;
buf->driver_bo = bo;