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

Zou, Nanhai nanhai.zou at intel.com
Wed Oct 27 02:33:14 CEST 2010


>>-----Original Message-----
>>From: Chris Wilson [mailto:chris at chris-wilson.co.uk]
>>Sent: 2010年10月26日 17:13
>>To: Zou, Nanhai; intel-gfx at lists.freedesktop.org
>>Subject: RE: [Intel-gfx] [PATCH 1/2] split render engine batch buffer and BLT
>>engine
>>
>>On Tue, 26 Oct 2010 16:23:24 +0800, "Zou, Nanhai" <nanhai.zou at intel.com> 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 rather finish the kernel
>>synchronisation before teaching X how to synchronise a pair of
>>interdependent concurrent batch buffers).  So in order to get any
>>synchronisation between the rings you have to flush the BLT batch when
>>starting a RENDER operation (if that operation accesses a BLT buffer and
>>vice versa).  Hence why I think that a single, modal batch buffer will be
>>no less efficient than maintaining a pair (or more) concurrent batch
>>buffers. X's request model means that we will process many sequential ops
>>from a single client in a single pass which will intermix BLT/RENDER
>>commands (or just use RENDER predominantly). I do not foresee X attaining
>>any great level of parallelism between the rings.
>>-Chris
Well, 
I think I get your point. Will work our patch like that.

Thanks
Zou Nan hai


>>
>>--
>>Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list