intel/debug: Add a common INTEL_DEBUG=nohiz option
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 13 Mar 2017 21:23:34 +0000 (14:23 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Mar 2017 04:00:09 +0000 (21:00 -0700)
commitd142c7436cfb23fcab5bb9a68ac46c883a758d86
tree5a753d68bc13a0d6b18963613db12dff324a9aa0
parentc09bb956ca1ee97a890543dd376c5a1287dd3f23
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 <topi.pohjolainen@intel.com>
src/intel/common/gen_debug.c
src/intel/common/gen_debug.h
src/intel/vulkan/anv_image.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_screen.c