summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2016-06-28 07:53:34 -0400
committerRob Clark <[email protected]>2016-07-30 09:23:42 -0400
commitdcde4cd114e906f5c4372dbb6758026c9222cd2a (patch)
tree861ba72403bd7f5fe3cea5cc5a5c62a1a86c03de /src/gallium/drivers/freedreno/freedreno_screen.c
parent9f219c7047b51561f6f69274d445e6a6ec41c5f8 (diff)
freedreno: spiff up some debug traces
Make it easier to track batches, to ensure things happen properly when they are reordered. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c
index 31f2cb2147a..1a59a883b6d 100644
--- a/src/gallium/drivers/freedreno/freedreno_screen.c
+++ b/src/gallium/drivers/freedreno/freedreno_screen.c
@@ -76,6 +76,7 @@ static const struct debug_named_value debug_options[] = {
{"deqp", FD_DBG_DEQP, "Enable dEQP hacks"},
{"nir", FD_DBG_NIR, "Prefer NIR as native IR"},
{"reorder", FD_DBG_REORDER,"Enable reordering for draws/blits"},
+ {"bstat", FD_DBG_BSTAT, "Print batch stats at context destroy"},
DEBUG_NAMED_VALUE_END
};