[Intel-gfx] [RFC 00/22] Gen7 batch buffer command parser

ykzhao yakui.zhao at intel.com
Wed Nov 27 09:55:38 CET 2013


On Wed, 2013-11-27 at 09:47 +0100, Daniel Vetter wrote:
> On Wed, Nov 27, 2013 at 04:42:11PM +0800, Xiang, Haihao wrote:
> > On Wed, 2013-11-27 at 09:31 +0100, Daniel Vetter wrote: 
> > > On Wed, Nov 27, 2013 at 9:23 AM, Xiang, Haihao <haihao.xiang at intel.com> wrote:
> > > >> So are these 2nd level batches constructed by the gpu in some cases? That
> > > >> would be fairly horribly to take into account with the batch checker ...
> > > >
> > > > It is *not* the 2nd level batch buffer (bit 22 isn't set). Only batch
> > > > buffer chain is used.
> > > 
> > > That's not really the hard part for the command checker, the important
> > > question is whether the gpu generates these batches or whether they're
> > > constructed by the cpu.
> > 
> > Yes, some batches are generated by GPU, either by EU shaders or by BSD
> > unit (batch buffer for MC on ILK).
> 
> So is ilk the only platform which does that? The command checker is only
> for gen7+ (and maybe gen6).

No. The Ivy/Haswell also uses the GPU to construct the batchbuffer. This
is mainly for the optimization of performance. 

Thanks.
     Yakui

> -Daniel





More information about the Intel-gfx mailing list