tu: Add missing wfi to tu6_emit_hw()
It needs to be there before changing CCU state. This was accidentally
deleted in f494799a7f
when it should've
been moved.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6007>
This commit is contained in:
parent
a0ca688a67
commit
52ec35f5a6
|
@ -740,6 +740,11 @@ tu6_init_hw(struct tu_cmd_buffer *cmd, struct tu_cs *cs)
|
|||
.gfx_bindless = 0x1f,
|
||||
.cs_bindless = 0x1f));
|
||||
|
||||
tu_cs_emit_wfi(cs);
|
||||
|
||||
cmd->state.cache.pending_flush_bits &=
|
||||
~(TU_CMD_FLAG_WAIT_FOR_IDLE | TU_CMD_FLAG_CACHE_INVALIDATE);
|
||||
|
||||
tu_cs_emit_regs(cs,
|
||||
A6XX_RB_CCU_CNTL(.offset = phys_dev->ccu_offset_bypass));
|
||||
cmd->state.ccu_state = TU_CMD_CCU_SYSMEM;
|
||||
|
|
Loading…
Reference in New Issue