From 5d91cf41f1d81cb1c070ca4edf948d471c9ea911 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 5 Sep 2021 17:58:24 -0400 Subject: [PATCH] freedreno: use OUT_WFI for emit_marker This is only used pre-a5xx, where we want OUT_WFI. Tested on FD420. Fixes: 8651cfbbf0 (freedreno: emit_marker() cleanup) Signed-off-by: Ilia Mirkin Part-of: --- src/gallium/drivers/freedreno/freedreno_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/freedreno_util.h b/src/gallium/drivers/freedreno/freedreno_util.h index f8cf9b6cb19..c989262cc74 100644 --- a/src/gallium/drivers/freedreno/freedreno_util.h +++ b/src/gallium/drivers/freedreno/freedreno_util.h @@ -398,7 +398,7 @@ emit_marker(struct fd_ringbuffer *ring, int scratch_idx) if (reg == HW_QUERY_BASE_REG) return; if (__EMIT_MARKER) { - OUT_WFI5(ring); + OUT_WFI(ring); OUT_PKT0(ring, reg, 1); OUT_RING(ring, p_atomic_inc_return(&marker_cnt)); }