From: "Xiang, Haihao" Subject: Re: [RFC 00/22] Gen7 batch buffer command parser Date: Wed, 27 Nov 2013 16:42:11 +0800 Message-ID: <1385541731.6449.39.camel@xhh-ivb32> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 34406FAEAB for ; Wed, 27 Nov 2013 00:40:18 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter Cc: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org 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). > -Daniel