Re: [Mesa-dev] [PATCH] i965: Order write of query availablity with earlier writes

2016-11-21 Thread Alejandro Piñeiro
On 19/11/16 08:48, Chris Wilson wrote: > On Sat, Nov 05, 2016 at 11:48:57PM +0100, Alejandro Piñeiro wrote: >> On 05/11/16 19:57, Chris Wilson wrote: >>> Currently we signal the availabilty of the query result using an >> typo: availability (this also affects commit message) >>> unordered pipe-cont

Re: [Mesa-dev] [PATCH] i965: Order write of query availablity with earlier writes

2016-11-18 Thread Chris Wilson
On Sat, Nov 05, 2016 at 11:48:57PM +0100, Alejandro Piñeiro wrote: > On 05/11/16 19:57, Chris Wilson wrote: > > Currently we signal the availabilty of the query result using an > typo: availability (this also affects commit message) > > unordered pipe-control write. As it is unordered, it may be ex

Re: [Mesa-dev] [PATCH] i965: Order write of query availablity with earlier writes

2016-11-05 Thread Alejandro Piñeiro
On 05/11/16 19:57, Chris Wilson wrote: > Currently we signal the availabilty of the query result using an typo: availability (this also affects commit message) > unordered pipe-control write. As it is unordered, it may be executed > before the write of the query result itself - and so an observer m

[Mesa-dev] [PATCH] i965: Order write of query availablity with earlier writes

2016-11-05 Thread Chris Wilson
Currently we signal the availabilty of the query result using an unordered pipe-control write. As it is unordered, it may be executed before the write of the query result itself - and so an observer may read the query result too early. Fix this by requesting that the write of the availablity flag i