radeonsi/rgp: export barriers
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 15 Mar 2021 11:49:49 +0000 (12:49 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 12 Apr 2021 12:27:26 +0000 (14:27 +0200)
commitaa077ba3a214479affe6dcc5fe3fe7cfe6a4d95a
tree833ec9aaf2d6e5d6315bc256eecb571c1fe5d77f
parent0e0dc669bda8a7db4fa43cb2d47a0da3e10b947c
radeonsi/rgp: export barriers

Wrap the si_cp_wait_mem call to emit RGP_SQTT_MARKER_IDENTIFIER_BARRIER_START and
RGP_SQTT_MARKER_IDENTIFIER_BARRIER_END events.

Only for gfx9+ for now.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10105>
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_sqtt.c