From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [RFC 00/22] Gen7 batch buffer command parser Date: Wed, 27 Nov 2013 09:47:57 +0100 Message-ID: <20131127084757.GV27344@phenom.ffwll.local> References: <1385484699-51596-1-git-send-email-bradley.d.volkin@intel.com> <20131126193538.GR27344@phenom.ffwll.local> <20131126202414.GA52952@vpg-ubuntu-bdvolkin> <1385515952.2037.25.camel@genxdev-ykzhao.sh.intel.com> <20131127081028.GU27344@phenom.ffwll.local> <1385540608.6449.36.camel@xhh-ivb32> <1385541731.6449.39.camel@xhh-ivb32> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by gabe.freedesktop.org (Postfix) with ESMTP id 08613FAEAB for ; Wed, 27 Nov 2013 00:47:15 -0800 (PST) Received: by mail-ea0-f182.google.com with SMTP id o10so5907475eaj.13 for ; Wed, 27 Nov 2013 00:47:15 -0800 (PST) Content-Disposition: inline In-Reply-To: <1385541731.6449.39.camel@xhh-ivb32> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "Xiang, Haihao" Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org 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 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). -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch