OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18df72b
)
radeonsi: also dump shaders on a VM fault
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 25 Feb 2016 16:54:01 +0000
(17:54 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 29 Feb 2016 23:18:54 +0000
(
00:18
+0100)
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_debug.c
b/src/gallium/drivers/radeonsi/si_debug.c
index
7c2b745
..
eb0cabb
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_debug.c
+++ b/
src/gallium/drivers/radeonsi/si_debug.c
@@
-781,8
+781,7
@@
void si_check_vm_faults(struct si_context *sctx)
fprintf(f, "Device name: %s\n\n", screen->get_name(screen));
fprintf(f, "Failing VM page: 0x%08x\n\n", addr);
- si_dump_last_bo_list(sctx, f);
- si_dump_last_ib(sctx, f);
+ si_dump_debug_state(&sctx->b.b, f, 0);
fclose(f);
fprintf(stderr, "Detected a VM fault, exiting...\n");