mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
tu/kgsl: Fix profiling buffer GPU IOVA
The IOVA being submitted was of the suballocation rather than the parent buffer. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30147>
This commit is contained in:
parent
0d6faa21f8
commit
d77b0f7cb1
1 changed files with 1 additions and 1 deletions
|
|
@ -1213,7 +1213,7 @@ kgsl_queue_submit(struct tu_queue *queue, struct vk_queue_submit *vk_submit)
|
|||
|
||||
objs[obj_idx++] = (struct kgsl_command_object) {
|
||||
.offset = bo->iova - bo->bo->iova,
|
||||
.gpuaddr = bo->iova,
|
||||
.gpuaddr = bo->bo->iova,
|
||||
.size = sizeof(struct kgsl_cmdbatch_profiling_buffer),
|
||||
.flags = KGSL_OBJLIST_MEMOBJ | KGSL_OBJLIST_PROFILE,
|
||||
.id = bo->bo->gem_handle,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue