diff --git a/.pick_status.json b/.pick_status.json index 3b228d3c263..8586882d009 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -139,7 +139,7 @@ "description": "radv: fix overflow when computing the SQTT buffer size", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/amd/vulkan/radv_sqtt.c b/src/amd/vulkan/radv_sqtt.c index 263a963256f..ecd83fed728 100644 --- a/src/amd/vulkan/radv_sqtt.c +++ b/src/amd/vulkan/radv_sqtt.c @@ -477,7 +477,7 @@ radv_thread_trace_init_bo(struct radv_device *device) /* Compute total size of the thread trace BO for 4 SEs. */ size = align64(sizeof(struct ac_thread_trace_info) * 4, 1 << SQTT_BUFFER_ALIGN_SHIFT); - size += device->thread_trace.buffer_size * 4; + size += device->thread_trace.buffer_size * 4ll; device->thread_trace.bo = ws->buffer_create(ws, size, 4096, RADEON_DOMAIN_VRAM,