projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radv: dump trace files earlier if a GPU hang is detected
[mesa.git]
/
src
/
amd
/
vulkan
/
radv_debug.c
diff --git
a/src/amd/vulkan/radv_debug.c
b/src/amd/vulkan/radv_debug.c
index 9ab7c8638e9190c34c14f3fc5c0b94c1c9527929..ce48079456061ec634b772331c3ed67f6669a817 100644
(file)
--- a/
src/amd/vulkan/radv_debug.c
+++ b/
src/amd/vulkan/radv_debug.c
@@
-604,6
+604,8
@@
radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs)
graphics_pipeline = radv_get_saved_graphics_pipeline(device);
compute_pipeline = radv_get_saved_compute_pipeline(device);
graphics_pipeline = radv_get_saved_graphics_pipeline(device);
compute_pipeline = radv_get_saved_compute_pipeline(device);
+ radv_dump_trace(queue->device, cs);
+
fprintf(stderr, "GPU hang report:\n\n");
radv_dump_device_name(device, stderr);
fprintf(stderr, "GPU hang report:\n\n");
radv_dump_device_name(device, stderr);
@@
-632,7
+634,6
@@
radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs)
break;
}
break;
}
- radv_dump_trace(queue->device, cs);
abort();
}
abort();
}