radv: Dump BO VA ranges on hang.
To make it easier to figure out if a given VA is valid or not. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3620 Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7205>
This commit is contained in:

committed by
Marge Bot

parent
ba9906fc8f
commit
347a3d68cd
@@ -667,6 +667,10 @@ radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs)
|
||||
fclose(f);
|
||||
}
|
||||
|
||||
fprintf(stderr, "BOs:\n");
|
||||
device->ws->dump_bo_ranges(device->ws, stderr);
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
/* Dump VM fault info. */
|
||||
if (vm_fault_occurred) {
|
||||
snprintf(dump_path, sizeof(dump_path), "%s/%s", dump_dir, "vm_fault.log");
|
||||
|
Reference in New Issue
Block a user