freedreno/a6xx: Fix timestamp emit

I guess this worked accidentially before due to suballocation.  But we
can't rely on that.

Fixes: 8609d62e4d ("freedreno/a6xx: Drop "hardpin" support")
Signed-off-by: Rob Clark <robdclark@chromium.org>
(cherry picked from commit 64d76bbab2)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33113>
This commit is contained in:
Rob Clark
2025-01-06 08:51:41 -08:00
committed by Dylan Baker
parent 7f9cf7fcdd
commit 651beca687
2 changed files with 2 additions and 1 deletions

View File

@@ -794,7 +794,7 @@
"description": "freedreno/a6xx: Fix timestamp emit",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "8609d62e4d7a5112b2426e9c2856d48864f9c2d6",
"notes": null

View File

@@ -299,6 +299,7 @@ template <chip CHIP>
static void
record_timestamp(struct fd_ringbuffer *ring, struct fd_bo *bo, unsigned offset)
{
fd_ringbuffer_attach_bo(ring, bo);
fd6_record_ts<CHIP>(ring, bo, offset, 0, 0);
}