radeonsi: document an unexpected behavior of PS_DONE

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15098>
This commit is contained in:
Marek Olšák 2022-01-22 10:02:19 -05:00 committed by Marge Bot
parent cc5fd00c5c
commit 1585b4584d

View file

@ -264,6 +264,7 @@ static void gfx10_emit_streamout_end(struct si_context *sctx)
uint64_t va = t[i]->buf_filled_size->gpu_address + t[i]->buf_filled_size_offset;
/* TODO: PS_DONE doesn't ensure completion of VS if there are no PS waves. */
si_cp_release_mem(sctx, &sctx->gfx_cs, V_028A90_PS_DONE, 0, EOP_DST_SEL_TC_L2,
EOP_INT_SEL_SEND_DATA_AFTER_WR_CONFIRM, EOP_DATA_SEL_GDS,
t[i]->buf_filled_size, va, EOP_DATA_GDS(i, 1), 0);