radv: stop reporting SQTT/RGP support as experimental
It can be considered stable these days. This also now reports the buffer size and if instruction timing is enabled/disabled. 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/13477>
This commit is contained in:
parent
74e625f057
commit
3839f3a486
|
@ -3100,10 +3100,6 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
|
||||||
}
|
}
|
||||||
|
|
||||||
if (radv_thread_trace_enabled()) {
|
if (radv_thread_trace_enabled()) {
|
||||||
fprintf(stderr, "*************************************************\n");
|
|
||||||
fprintf(stderr, "* WARNING: Thread trace support is experimental *\n");
|
|
||||||
fprintf(stderr, "*************************************************\n");
|
|
||||||
|
|
||||||
if (device->physical_device->rad_info.chip_class < GFX8 ||
|
if (device->physical_device->rad_info.chip_class < GFX8 ||
|
||||||
device->physical_device->rad_info.chip_class > GFX10_3) {
|
device->physical_device->rad_info.chip_class > GFX10_3) {
|
||||||
fprintf(stderr, "GPU hardware not supported: refer to "
|
fprintf(stderr, "GPU hardware not supported: refer to "
|
||||||
|
@ -3114,6 +3110,11 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
|
||||||
|
|
||||||
if (!radv_thread_trace_init(device))
|
if (!radv_thread_trace_init(device))
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
fprintf(stderr, "radv: Thread trace support is enabled (initial buffer size: %u MiB, "
|
||||||
|
"instruction timing: %s).\n",
|
||||||
|
device->thread_trace.buffer_size / (1024 * 1024),
|
||||||
|
radv_is_instruction_timing_enabled() ? "enabled" : "disabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getenv("RADV_TRAP_HANDLER")) {
|
if (getenv("RADV_TRAP_HANDLER")) {
|
||||||
|
|
Loading…
Reference in New Issue