5f3d3be24a
For weird reasons, the COPY_DATA packet doesn't seem to copy anything while on the compute queue. Instead, use PKT3_LOAD_SH_REG_INDEX which seems to work as expected. Note that LOAD_SH_REG_INDEX on the compute queue is only supported by the CP on GFX10.3, so we need to implement a different solution (load from the indirect BO in the shader) for older generations. This should fix the Control RT GPU hang. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15053>