Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 11:18 AM, Chris Wilson wrote: > On Wed, Apr 05, 2017 at 11:02:18AM -0700, Jason Ekstrand wrote: > >On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson > ><[1]ch...@chris-wilson.co.uk> wrote: > > > > On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > >

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 11:02:18AM -0700, Jason Ekstrand wrote: >On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson ><[1]ch...@chris-wilson.co.uk> wrote: > > On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user wan

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
On Wed, Apr 5, 2017 at 10:45 AM, Chris Wilson wrote: > On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > > Before, we were just looking at whether or not the user wanted us to > > wait and waiting on the BO. Some clients, such as the Serious engine, > > use a single query pool fo

Re: [Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Chris Wilson
On Wed, Apr 05, 2017 at 10:28:53AM -0700, Jason Ekstrand wrote: > Before, we were just looking at whether or not the user wanted us to > wait and waiting on the BO. Some clients, such as the Serious engine, > use a single query pool for hundreds of individual query results where > the writes for t

[Mesa-dev] [PATCH v3 2/2] anv/query: Busy-wait for available query entries

2017-04-05 Thread Jason Ekstrand
Before, we were just looking at whether or not the user wanted us to wait and waiting on the BO. Some clients, such as the Serious engine, use a single query pool for hundreds of individual query results where the writes for those queries may be split across several command buffers. In this scena