Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Zou, Nanhai
>>-Original Message- >>From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] >>Sent: 2010年10月26日 17:13 >>To: Zou, Nanhai; intel-gfx@lists.freedesktop.org >>Subject: RE: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT >>engine >>

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Chris Wilson
On Tue, 26 Oct 2010 16:23:24 +0800, "Zou, Nanhai" wrote: > I do not quite understand your point. > How can we mix blitter command with render command in a batch buffer? We can't. We also can't mix render targets/sources between concurrent batch buffers either, at the moment. (I'd much rathe

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Zou, Nanhai
>>-Original Message- >>From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] >>Sent: 2010年10月26日 16:38 >>To: Zou, Nanhai; Zou, Nanhai; intel-gfx@lists.freedesktop.org >>Subject: RE: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT >>engi

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Chris Wilson
On Tue, 26 Oct 2010 16:31:47 +0800, "Zou, Nanhai" wrote: > Even if we can implement the batch buffer in a modal way. > I think it is not the best usage model. > Render engine and BLT engine are separate engines on gen6+. > For them to run one by one will not maximum the GPU usage. What usage patt

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Zou, Nanhai
reedesktop.org >>Subject: Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT >>engine >> >> >>>>-Original Message- >>>>From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] >>>>Sent: 2010年10月26日 16:18 >>&g

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Zou, Nanhai
>>-Original Message- >>From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] >>Sent: 2010年10月26日 16:18 >>To: Zou, Nanhai; intel-gfx@lists.freedesktop.org >>Subject: Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT >>engine >>

Re: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Chris Wilson
On Tue, 26 Oct 2010 15:33:15 +0800, Zou Nan hai wrote: > intel: on gen6, BLT commands stay in a seperate BLT ring > buffer. Split render engine batch and BLT engine batch > on gen6. No. The batch buffer needs to be modal, and upon a context switch flushes the current batch. Otherw

[Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT engine

2010-10-26 Thread Zou Nan hai
intel: on gen6, BLT commands stay in a seperate BLT ring buffer. Split render engine batch and BLT engine batch on gen6. Signed-off-by: Zou Nan hai --- src/i830_3d.c |2 +- src/i830_render.c | 16 +++-- src/i915_3d.c |2 +- src/i915_3d.h