gallium/radeon/winsyses: print CS submission error number
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
@@ -935,7 +935,7 @@ void amdgpu_cs_submit_ib(void *job, int thread_index)
|
||||
fprintf(stderr, "amdgpu: Not enough memory for command submission.\n");
|
||||
else
|
||||
fprintf(stderr, "amdgpu: The CS has been rejected, "
|
||||
"see dmesg for more information.\n");
|
||||
"see dmesg for more information (%i).\n", r);
|
||||
|
||||
amdgpu_fence_signalled(cs->fence);
|
||||
} else {
|
||||
|
||||
@@ -447,7 +447,7 @@ void radeon_drm_cs_emit_ioctl_oneshot(void *job, int thread_index)
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "radeon: The kernel rejected CS, "
|
||||
"see dmesg for more information.\n");
|
||||
"see dmesg for more information (%i).\n", r);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user