summaryrefslogtreecommitdiffstats
path: root/src/intel/common/gen_debug.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-03-20 01:58:48 -0700
committerKenneth Graunke <[email protected]>2017-03-21 13:48:53 -0700
commit2b074bb7e57667788cde4dd0f5b01d1683aa71ce (patch)
tree636aa7d4514d060462e59a06d4765da576a87c7d /src/intel/common/gen_debug.c
parent1fa432741c45cf9cdbdd416cd0f7b424f2ffc7a5 (diff)
intel: Add a INTEL_DEBUG=color option.
This will be used for color output in debug messages. Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
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 f90f00d89e9..be6fcdb3bdc 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[] = {
{ "do32", DEBUG_DO32 },
{ "norbc", DEBUG_NO_RBC },
{ "nohiz", DEBUG_NO_HIZ },
+ { "color", DEBUG_COLOR },
{ NULL, 0 }
};