Re: [Mesa-dev] [PATCH 37/53] i965: Make/use a brw_batch_references() wrapper.

2017-04-05 Thread Chris Wilson
On Tue, Apr 04, 2017 at 05:10:27PM -0700, Kenneth Graunke wrote: > We'll want to change the implementation of this shortly. Is batch_references the interface you want though? You are actually either asking whether the buffer is busy (being under construction is part of that) or to flush the bo. A

[Mesa-dev] [PATCH 37/53] i965: Make/use a brw_batch_references() wrapper.

2017-04-04 Thread Kenneth Graunke
We'll want to change the implementation of this shortly. --- src/mesa/drivers/dri/i965/brw_performance_query.c | 6 +++--- src/mesa/drivers/dri/i965/brw_queryobj.c | 4 ++-- src/mesa/drivers/dri/i965/gen6_queryobj.c | 2 +- src/mesa/drivers/dri/i965/gen6_sol.c | 2 +-