diff options
author | Marek Olšák <[email protected]> | 2016-06-30 01:15:19 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-05 00:47:13 +0200 |
commit | 28a03be06b183caa433de03c9bf35ba5dbd8c77a (patch) | |
tree | 19553316119a88193acf1077b90a6eeb8753aa2c /src/gallium/drivers/radeonsi/si_debug.c | |
parent | 642cf400aa806281720acbe599a35a6a176c04b3 (diff) |
radeonsi: enable string markers and record apitrace call numbers
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_debug.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 112e68684f3..220ce13dab3 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -814,6 +814,10 @@ void si_check_vm_faults(struct r600_common_context *ctx, fprintf(f, "Device name: %s\n\n", screen->get_name(screen)); fprintf(f, "Failing VM page: 0x%08x\n\n", addr); + if (sctx->apitrace_call_number) + fprintf(f, "Last apitrace call: %u\n\n", + sctx->apitrace_call_number); + switch (ring) { case RING_GFX: si_dump_debug_state(&sctx->b.b, f, 0); |