mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
tu/kgsl: Fix field order in kgsl_command_object init
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9942
Fixes: ec268fa5b6
("tu/kgsl: Support u_trace and perfetto")
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25581>
This commit is contained in:
parent
1950481d08
commit
9b0960cfe3
1 changed files with 1 additions and 1 deletions
|
|
@ -1103,8 +1103,8 @@ kgsl_queue_submit(struct tu_queue *queue, struct vk_queue_submit *vk_submit)
|
|||
struct tu_suballoc_bo *bo = &u_trace_submission_data->kgsl_timestamp_bo;
|
||||
|
||||
objs[obj_idx++] = (struct kgsl_command_object) {
|
||||
.gpuaddr = bo->iova,
|
||||
.offset = bo->iova - bo->bo->iova,
|
||||
.gpuaddr = 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