summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_common.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-03-04 13:07:55 -0700
committerChia-I Wu <[email protected]>2015-03-05 04:52:49 +0800
commit68d2e395d9e18898ef74a635a93dfc4501c1c507 (patch)
treecb4ea33239d799f85b5afe90f3a44d49d3369583 /src/gallium/drivers/ilo/ilo_common.h
parentaf4cff5d6f74460d34bc10f9dc3a9f91e4e11f2d (diff)
ilo: add ILO_DEBUG=hang
When set, detect and dump the hanging batch bufffer.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_common.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_common.h b/src/gallium/drivers/ilo/ilo_common.h
index 23a70805c2a..1ed964f2eca 100644
--- a/src/gallium/drivers/ilo/ilo_common.h
+++ b/src/gallium/drivers/ilo/ilo_common.h
@@ -63,6 +63,7 @@ enum ilo_debug {
ILO_DEBUG_CS = 1 << 4,
ILO_DEBUG_DRAW = ILO_DEBUG_HOT << 5,
ILO_DEBUG_SUBMIT = 1 << 6,
+ ILO_DEBUG_HANG = 1 << 7,
/* flags that affect the behaviors of the driver */
ILO_DEBUG_NOHW = 1 << 20,
@@ -82,7 +83,7 @@ struct ilo_dev_info {
bool has_timestamp;
bool has_gen7_sol_reset;
- /* use ilo_dev_gen() */
+ /* use ilo_dev_gen() to access */
int gen_opaque;
int gt;