diff options
author | Jason Ekstrand <[email protected]> | 2017-03-13 14:23:34 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-03-14 21:00:09 -0700 |
commit | d142c7436cfb23fcab5bb9a68ac46c883a758d86 (patch) | |
tree | 5a753d68bc13a0d6b18963613db12dff324a9aa0 /src/intel/common | |
parent | c09bb956ca1ee97a890543dd376c5a1287dd3f23 (diff) |
intel/debug: Add a common INTEL_DEBUG=nohiz option
The GL driver had a driconf option (which doesn't make much sense) and
the Vulkan driver had a hand-rolled environment variable. Instead,
let's tie both into the INTEL_DEBUG mechanism and unify things.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/common')
-rw-r--r-- | src/intel/common/gen_debug.c | 1 | ||||
-rw-r--r-- | src/intel/common/gen_debug.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/common/gen_debug.c b/src/intel/common/gen_debug.c index 1e0ba573c47..f90f00d89e9 100644 --- a/src/intel/common/gen_debug.c +++ b/src/intel/common/gen_debug.c @@ -82,6 +82,7 @@ static const struct debug_control debug_control[] = { { "l3", DEBUG_L3 }, { "do32", DEBUG_DO32 }, { "norbc", DEBUG_NO_RBC }, + { "nohiz", DEBUG_NO_HIZ }, { NULL, 0 } }; diff --git a/src/intel/common/gen_debug.h b/src/intel/common/gen_debug.h index db13a06cc9e..d007aebf69d 100644 --- a/src/intel/common/gen_debug.h +++ b/src/intel/common/gen_debug.h @@ -78,6 +78,7 @@ extern uint64_t INTEL_DEBUG; #define DEBUG_L3 (1ull << 36) #define DEBUG_DO32 (1ull << 37) #define DEBUG_NO_RBC (1ull << 38) +#define DEBUG_NO_HIZ (1ull << 39) #ifdef HAVE_ANDROID_PLATFORM #define LOG_TAG "INTEL-MESA" |