radv/sqtt: add support for GFX10
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Feb 2020 16:55:54 +0000 (17:55 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Mar 2020 11:23:43 +0000 (12:23 +0100)
commit79d4d2807ff60d571c377c7f4aa729601ab873e1
tree721ec0c62736d1e2fbfcae3a5c66756ec99dde94
parenteea3912451f411c3d61d258cda65a27f274bac38
radv/sqtt: add support for GFX10

All SQTT registers were moved to privileged space on GFX10, to emit
them we need a workaround with COPY_DATA.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4018>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4018>
src/amd/vulkan/radv_cs.h
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_sqtt.c