From b6cbb42afe6991e9101f10c2298dedfc817135bf Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 8 Aug 2018 12:38:54 +1000 Subject: [PATCH] query: use 64-bit get for timer queries This regressed with 85bfbb4443 (query: fix glean/occluQry test) Reviewed-by: Gurchetan Singh --- src/vrend_renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 51ce103..da3bb53 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -7466,7 +7466,7 @@ static bool vrend_check_query(struct vrend_query *query) struct virgl_host_query_state *state; bool ret; - ret = vrend_get_one_query_result(query->id, false, &result); + ret = vrend_get_one_query_result(query->id, vrend_is_timer_query(query->gltype), &result); if (ret == false) return false;