diff options
author | Pauli Nieminen <[email protected]> | 2009-09-09 18:31:52 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-09-09 18:31:52 +0300 |
commit | e0f99b8268496576b017f4d0eb0ed09507c2f30d (patch) | |
tree | 8a744a75dc5f7df71c8a1e16ef88c48fb1ae238f /src/mesa/drivers/dri/radeon | |
parent | 0c309bb494b6ee1c403442d1207743f749f95b6e (diff) |
radeon: Add more verbose error message for failed command buffer.
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c index e53eb0904d2..a4c7b40798a 100644 --- a/src/mesa/drivers/dri/radeon/radeon_common.c +++ b/src/mesa/drivers/dri/radeon/radeon_common.c @@ -1234,7 +1234,9 @@ int rcommonFlushCmdBuf(radeonContextPtr rmesa, const char *caller) UNLOCK_HARDWARE(rmesa); if (ret) { - fprintf(stderr, "drmRadeonCmdBuffer: %d\n", ret); + fprintf(stderr, "drmRadeonCmdBuffer: %d. Kernel failed to " + "parse or rejected command stream. See dmesg " + "for more info.\n", ret); _mesa_exit(ret); } |