mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
radv: print which ring is dumped in hang reports
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
076f9dce7c
commit
bc2319deb2
1 changed files with 2 additions and 0 deletions
|
|
@ -619,10 +619,12 @@ radv_check_gpu_hangs(struct radv_queue *queue, struct radeon_cmdbuf *cs)
|
|||
|
||||
switch (ring) {
|
||||
case RING_GFX:
|
||||
fprintf(stderr, "RING_GFX:\n");
|
||||
radv_dump_graphics_state(graphics_pipeline, compute_pipeline,
|
||||
stderr);
|
||||
break;
|
||||
case RING_COMPUTE:
|
||||
fprintf(stderr, "RING_COMPUTE:\n");
|
||||
radv_dump_compute_state(compute_pipeline, stderr);
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue