mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 00:20:43 +01:00
radv: rewrite a comment explaining why PFP waits for ME with streamout
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40327>
This commit is contained in:
parent
d9420eed9e
commit
dfdaf6a277
1 changed files with 2 additions and 2 deletions
|
|
@ -15543,8 +15543,8 @@ radv_emit_strmout_buffer(struct radv_cmd_buffer *cmd_buffer, const struct radv_d
|
|||
radeon_end();
|
||||
|
||||
if (gfx_level >= GFX10) {
|
||||
/* Emitting a COPY_DATA packet should be enough because RADV doesn't support preemption
|
||||
* (shadow memory) but for unknown reasons, it can lead to GPU hangs on GFX10+.
|
||||
/* Make sure that PFP waits for ME to avoid a race condition because the data is written by
|
||||
* STRMOUT_BUFFER_UPDATE in ME, but LOAD_CONTEXT_REG_INDEX is in PFP.
|
||||
*/
|
||||
ac_emit_cp_pfp_sync_me(cs->b, false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue