radv/sqtt: add a comment about the allocation strategy of the SQTT BO
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39172>
This commit is contained in:
Samuel Pitoiset 2026-01-06 08:14:29 +01:00 committed by Marge Bot
parent ffa343ed05
commit 9f5dd888b6

View file

@ -282,6 +282,8 @@ radv_sqtt_init_bo(struct radv_device *device)
size += device->sqtt.buffer_size * (uint64_t)max_se;
struct radeon_winsys_bo *bo = NULL;
/* The SQTT BO must be in VRAM, otherwise it's really slow and timings don't match real cases. */
result = radv_bo_create(device, NULL, size, 4096, RADEON_DOMAIN_VRAM,
RADEON_FLAG_CPU_ACCESS | RADEON_FLAG_NO_INTERPROCESS_SHARING | RADEON_FLAG_ZERO_VRAM,
RADV_BO_PRIORITY_SCRATCH, 0, true, &bo);