aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_query.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-08-20 11:40:49 +0800
committerChia-I Wu <[email protected]>2013-08-20 13:54:39 +0800
commitce87c51e9ad131670fd8e4dcc0d023d0b057612b (patch)
tree4e6ff9fed3a0b47fc787dcbe8cb5cf2c2e4221e7 /src/gallium/drivers/ilo/ilo_query.c
parent216a576e111b85662eabd8d4c398149818adbf39 (diff)
ilo: add ILO_DEBUG=flush
When specified, ilo will print a line similar to cp flushed for render with 949+888 DWords (22.4%) because of frame end for every ilo_cp_flush() call.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_query.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_query.c b/src/gallium/drivers/ilo/ilo_query.c
index 6f2956ec6f4..5154ddbdefc 100644
--- a/src/gallium/drivers/ilo/ilo_query.c
+++ b/src/gallium/drivers/ilo/ilo_query.c
@@ -169,7 +169,7 @@ ilo_get_query_result(struct pipe_context *pipe, struct pipe_query *query,
if (q->bo) {
if (intel_bo_references(ilo->cp->bo, q->bo))
- ilo_cp_flush(ilo->cp);
+ ilo_cp_flush(ilo->cp, "syncing for queries");
if (!wait && intel_bo_is_busy(q->bo))
return false;