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 <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12734>
This commit is contained in:
Ilia Mirkin 2021-09-05 17:58:24 -04:00 committed by Marge Bot
parent 6619877bdf
commit 5d91cf41f1
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}