radv: dump GPU info into the hang report
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Aug 2020 16:29:13 +0000 (18:29 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 1 Sep 2020 06:27:52 +0000 (08:27 +0200)
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/6471>

src/amd/vulkan/radv_debug.c

index 5bee83021f661dd61f117f3b3fe9c278adc34b84..2d1f5c2d7d2f2d16897431b071b73b1d9bf10ca6 100644 (file)
@@ -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);