radv: dump GPU info into the hang report

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>
This commit is contained in:
Samuel Pitoiset 2020-08-26 18:29:13 +02:00
parent aa675cdc91
commit 8b1ab78985
1 changed files with 1 additions and 0 deletions

View 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);