From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [Mesa-dev] [PATCH 00/25] i915 HW context support Date: Tue, 5 Jun 2012 09:32:25 -0700 Message-ID: <20120605093225.3dde0c61@bwidawsk.net> References: <1338846185-10571-1-git-send-email-ben@bwidawsk.net> <4FCDB05A.6000303@whitecape.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4FCDB05A.6000303@whitecape.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Kenneth Graunke Cc: DRI@freedesktop.org, Mesa Dev , intel-gfx@lists.freedesktop.org, Devel List-Id: intel-gfx@lists.freedesktop.org On Tue, 05 Jun 2012 00:08:10 -0700 Kenneth Graunke wrote: > On 06/04/2012 10:53 PM, Dave Airlie wrote: > >> > >> I've run these on various workloads and saw nothing worth mentioning. > > > > Nothing at all? no speedups, slowdowns, etc > > > > why should we merge all this code then :-) > > > > Dave. > > Preserving hardware state across batches is going to be necessary for: > > * Transform feedback in the presence of geometry shaders > > Right now, Mesa counts the number of primitives emitted on the CPU, > relies on the kernel resetting the register to 0, and offset values > in software. With GS, we obviously can't count primitives on the CPU. > > * Primitive restart in hardware > > and seems to be increasingly necessary for new features as we move > forward. So we'd like to get it in place; we can cut more state uploads > and tune Mesa further once it's there. Also, my testing was far from comprehensive. -- Ben Widawsky, Intel Open Source Technology Center