From: Samuel Pitoiset Date: Wed, 26 Aug 2020 16:29:13 +0000 (+0200) Subject: radv: dump GPU info into the hang report X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=commitdiff_plain;h=8b1ab78985b54623200bc5e90c7149685bb4b7ce;hp=aa675cdc91fe1d317650c279b3470c0081e85527 radv: dump GPU info into the hang report Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index 5bee83021f6..2d1f5c2d7d2 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -582,6 +582,7 @@ radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs) fprintf(stderr, "GPU hang report:\n\n"); radv_dump_device_name(device, stderr); + ac_print_gpu_info(&device->physical_device->rad_info); radv_dump_enabled_options(device, stderr); radv_dump_dmesg(stderr);