From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Graunke Subject: Re: [PATCH] drm/i915: [GEN7] Use HW scheduler for fixed function shaders Date: Mon, 16 Apr 2012 16:18:50 -0700 Message-ID: <4F8CA8DA.1000904@whitecape.org> References: <1334454092-8878-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from homiemail-a62.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by gabe.freedesktop.org (Postfix) with ESMTP id 205039E7AD for ; Mon, 16 Apr 2012 16:18:52 -0700 (PDT) In-Reply-To: <1334454092-8878-1-git-send-email-ben@bwidawsk.net> 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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org, Bernard Kilarski , stable , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On 04/14/2012 06:41 PM, Ben Widawsky wrote: > This originally started as a patch from Bernard as a way of simply > setting the VS scheduler. After submitting the RFC patch, we decided to > also modify the DS scheduler. To be most explicit, I've made the patch > explicitly set all scheduler modes, and included the defines for other > modes (in case someone feels frisky later). > > The rest of the story gets a bit weird. The first version of the patch > showed an almost unbelievable performance improvement. Since rebasing my > branch it appears the performance improvement has gone, unfortunately. > But setting these bits seem to be the right thing to do given that the > docs describe corruption that can occur with the default settings. > > In summary, I am seeing no more perf improvements (or regressions) in my > limited testing, but we believe this should be set to prevent rendering > corruption, therefore cc stable. > > v1: Clear bit 4 also (Ken + Eugeni) > Do a full clear + set of the bits we want (Me). > > Cc: Bernard Kilarski > Cc: stable > Reviewed-by (RFC): Kenneth Graunke > Signed-off-by: Ben Widawsky Looks good! I like how you've reworked this. It looks like we don't want to do this on Haswell. Reviewed-by: Kenneth Graunke (I haven't tested it, though.)