mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 04:00:23 +01:00
radv/sqtt: add a comment about the allocation strategy of the SQTT BO
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:
parent
ffa343ed05
commit
9f5dd888b6
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue