Re: [Mesa-dev] [PATCH 4/5] i965: Split batch emission from relocation functions.

2015-07-13 Thread Matt Turner
On Sat, Jul 11, 2015 at 11:08 AM, Chris Wilson wrote: > On Fri, Jul 10, 2015 at 11:44:58AM -0700, Matt Turner wrote: >> So that everything writing to the batch between BEGIN_BATCH() and >> ADVANCE_BATCH() goes through OUT_BATCH. > > Reviewed-by: Chris Wilson > >> +#define OUT_RELOC64(buf, read_do

Re: [Mesa-dev] [PATCH 4/5] i965: Split batch emission from relocation functions.

2015-07-11 Thread Chris Wilson
On Fri, Jul 10, 2015 at 11:44:58AM -0700, Matt Turner wrote: > So that everything writing to the batch between BEGIN_BATCH() and > ADVANCE_BATCH() goes through OUT_BATCH. Reviewed-by: Chris Wilson > +#define OUT_RELOC64(buf, read_domains, write_domain, delta) do {\ > + uint64_t reloc64

[Mesa-dev] [PATCH 4/5] i965: Split batch emission from relocation functions.

2015-07-10 Thread Matt Turner
So that everything writing to the batch between BEGIN_BATCH() and ADVANCE_BATCH() goes through OUT_BATCH. --- src/mesa/drivers/dri/i965/intel_batchbuffer.c | 30 ++- src/mesa/drivers/dri/i965/intel_batchbuffer.h | 34 ++- 2 files changed, 30 insertions(+