summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_debug.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2017-09-15 17:47:07 -0700
committerKenneth Graunke <kenneth@whitecape.org>2017-09-15 21:51:45 -0700
commit4f8d1af0f6f45e4f62c9456b018e9945df1e6054 (patch)
tree3443a5a7544c0df172ff87408493760f09fa8f3f /src/intel/common/gen_debug.c
parent3115687f9b9830417c408228db2bc679e346bba6 (diff)
i965: Add an INTEL_DEBUG=reemit option.
Jason and I use this for debugging all the time. Recompiling the driver to enable it is kind of annoying. It's a great thing to try along with always_flush_batch=true and always_flush_cache=true to detect a class of problems - namely, atoms listening to an insufficient set of dirty bits. Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/intel/common/gen_debug.c')
-rw-r--r--src/intel/common/gen_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/common/gen_debug.c b/src/intel/common/gen_debug.c
index 4677bfd582b..f58c593c44c 100644
--- a/src/intel/common/gen_debug.c
+++ b/src/intel/common/gen_debug.c
@@ -83,6 +83,7 @@ static const struct debug_control debug_control[] = {
{ "norbc", DEBUG_NO_RBC },
{ "nohiz", DEBUG_NO_HIZ },
{ "color", DEBUG_COLOR },
+ { "reemit", DEBUG_REEMIT },
{ NULL, 0 }
};