public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Kenneth Graunke <kenneth@whitecape.org>
To: Ben Widawsky <ben@bwidawsk.net>
Cc: intel-gfx@lists.freedesktop.org,
	Bernard Kilarski <bernard.r.kilarski@intel.com>,
	stable <stable@vger.kernel.org>,
	Ben Widawsky <benjamin.widawsky@intel.com>
Subject: Re: [PATCH] drm/i915: [GEN7] Use HW scheduler for fixed function shaders
Date: Mon, 16 Apr 2012 16:18:50 -0700	[thread overview]
Message-ID: <4F8CA8DA.1000904@whitecape.org> (raw)
In-Reply-To: <1334454092-8878-1-git-send-email-ben@bwidawsk.net>

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<bernard.r.kilarski@intel.com>
> Cc: stable<stable@vger.kernel.org>
> Reviewed-by (RFC): Kenneth Graunke<kenneth@whitecape.org>
> Signed-off-by: Ben Widawsky<benjamin.widawsky@intel.com>

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 <kenneth@whitecape.org>

(I haven't tested it, though.)

      parent reply	other threads:[~2012-04-16 23:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-15  1:41 [PATCH] drm/i915: [GEN7] Use HW scheduler for fixed function shaders Ben Widawsky
2012-04-15 14:55 ` Eugeni Dodonov
2012-04-15 17:14   ` Ben Widawsky
2012-04-18 15:33     ` Daniel Vetter
2012-05-20 19:24       ` Daniel Vetter
2012-05-21 14:56         ` Jesse Barnes
2012-04-16 23:18 ` Kenneth Graunke [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8CA8DA.1000904@whitecape.org \
    --to=kenneth@whitecape.org \
    --cc=ben@bwidawsk.net \
    --cc=benjamin.widawsky@intel.com \
    --cc=bernard.r.kilarski@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox