summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_cp.h
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2015-03-04 13:07:55 -0700
committerChia-I Wu <olvaffe@gmail.com>2015-03-05 04:52:49 +0800
commit68d2e395d9e18898ef74a635a93dfc4501c1c507 (patch)
treecb4ea33239d799f85b5afe90f3a44d49d3369583 /src/gallium/drivers/ilo/ilo_cp.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_cp.h')
-rw-r--r--src/gallium/drivers/ilo/ilo_cp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_cp.h b/src/gallium/drivers/ilo/ilo_cp.h
index 04b3ad5f836..dcab55b6ee2 100644
--- a/src/gallium/drivers/ilo/ilo_cp.h
+++ b/src/gallium/drivers/ilo/ilo_cp.h
@@ -72,6 +72,9 @@ struct ilo_cp {
struct ilo_builder builder;
struct intel_bo *last_submitted_bo;
+
+ uint32_t active_lost;
+ uint32_t pending_lost;
};
struct ilo_cp *