aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_query.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-02-07 09:40:00 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:11 -0800
commit3b1ac8244ec5aecf703110f8191058f3299b72af (patch)
treeb2bc35bb57f927e14f13434383e546c05b32276c /src/gallium/drivers/iris/iris_query.c
parentc24a574e6c78db038d7aa6c4605bf6a8a892f7ab (diff)
iris: Add a timeout_nsec parameter, rename check_syncpt to wait_syncpt
I want to be able to wait with a non-zero timeout from elsewhere.
Diffstat (limited to 'src/gallium/drivers/iris/iris_query.c')
-rw-r--r--src/gallium/drivers/iris/iris_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_query.c b/src/gallium/drivers/iris/iris_query.c
index 2e6cc34c534..6e8062f3b4e 100644
--- a/src/gallium/drivers/iris/iris_query.c
+++ b/src/gallium/drivers/iris/iris_query.c
@@ -876,7 +876,7 @@ iris_get_query_result(struct pipe_context *ctx,
while (!q->map->snapshots_landed) {
if (wait)
- iris_check_syncpt(ctx->screen, q->syncpt);
+ iris_wait_syncpt(ctx->screen, q->syncpt, 0);
else
return false;
}