Re: [Mesa-dev] [PATCH 8/9] i965: Use 'available' fence for polling query results

2017-06-14 Thread Kenneth Graunke
On Friday, June 9, 2017 6:01:39 AM PDT Chris Wilson wrote: > If we always write the 'available' flag after writing the final result > of the query, we can probe that predicate to quickly query whether the > result is ready from userspace. The primary advantage of checking the > predicate is that it

[Mesa-dev] [PATCH 8/9] i965: Use 'available' fence for polling query results

2017-06-09 Thread Chris Wilson
If we always write the 'available' flag after writing the final result of the query, we can probe that predicate to quickly query whether the result is ready from userspace. The primary advantage of checking the predicate is that it allows for more fine-grained queries, we do not have to wait for t