aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-07-29 18:31:33 +0200
committerMarek Olšák <[email protected]>2016-08-06 13:56:14 +0200
commit1c8f17599efe76239bc1cffef5db42e67cf4c900 (patch)
treeff4f1b779cce96046aa9dfd3ea8611eceb5198e1 /src/gallium/winsys/radeon
parent0edc2e433e15fc987c7063da6074d78b9946fb13 (diff)
gallium/radeon/winsyses: print CS submission error number
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/winsys/radeon')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
index 606c38d119d..4a6f0055daa 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_cs.c
@@ -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);
}
}