From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/7] drm/i915: Fix SNB GT_MODE register setup
Date: Wed, 5 Feb 2014 11:27:31 +0200 [thread overview]
Message-ID: <20140205092731.GJ3891@intel.com> (raw)
In-Reply-To: <20140204212306.GI11603@nuc-i3427.alporthouse.com>
On Tue, Feb 04, 2014 at 09:23:06PM +0000, Chris Wilson wrote:
> On Tue, Feb 04, 2014 at 09:59:15PM +0200, ville.syrjala@linux.intel.com wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >
> > On SNB we set up WaSetupGtModeTdRowDispatch:snb early in
> > gen6_init_clock_gating(). That sets a bit in the GEN6_GT_MODE register.
> > However later we go and disable all the bits in the same register. And
> > then we go on to set some other bit. So apparently we never actually
> > implemented this workaround since the "disable all bits" part was there
> > already before the w/a got supposedly implemented.
> >
> > These are the relevant commits:
> >
> > commit 6547fbdbfff62c99e4f7b4f985ff8b3454f33b0f
> > Author: Daniel Vetter <daniel.vetter@ffwll.ch>
> > Date: Fri Dec 14 23:38:29 2012 +0100
> >
> > drm/i915: Implement WaSetupGtModeTdRowDispatch
> >
> > commit f8f2ac9a76b0f80a6763ca316116a7bab8486997
> > Author: Ben Widawsky <ben@bwidawsk.net>
> > Date: Wed Oct 3 19:34:24 2012 -0700
> >
> > drm/i915: Fix GT_MODE default value
> >
> > So, let's drop the "disable all bits" part, move both writes to
> > closer proxomity to each other, and name the WIZ hashing bits
> > appropriately. BSpec is still a bit confused how the bits should
> > actually be interpreted, but I took the the description for the
> > high bit since the low bit part only lists values for a single bit.
> >
> > Also add a comment about our choice of WIZ hashing mode.
>
> Changing WiZ hashing mode changes the valid number of threads and
> userspace assumes best case (WiZ disabled). Worst case we start hanging
> the chip.
>
> I have no idea how relevant that piece of lore from the spec is, but it
> something to be wary of when making these changes.
The thread numbers seem to depend only on the WIZ hashing disable bit.
I'm not touching that one.
--
Ville Syrjälä
Intel OTC
next prev parent reply other threads:[~2014-02-05 9:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-04 19:59 [PATCH 0/7] drm/i915: Some more w/a'ish stuff ville.syrjala
2014-02-04 19:59 ` [PATCH 1/7] drm/i915: Fix SNB GT_MODE register setup ville.syrjala
2014-02-04 21:23 ` Chris Wilson
2014-02-05 9:27 ` Ville Syrjälä [this message]
2014-02-05 10:06 ` Chris Wilson
2014-02-05 10:43 ` [PATCH] drm/i915: Add a comment about WIZ hashing vs. thread counts ville.syrjala
2014-02-05 10:57 ` Chris Wilson
2014-02-04 19:59 ` [PATCH 2/7] drm/i915: Assume we implement WaStripsFansDisableFastClipPerformanceFix:snb ville.syrjala
2014-02-04 19:59 ` [PATCH 3/7] drm/i915: There's no need to mask all 3D_CHICKEN bits on SNB ville.syrjala
2014-02-04 19:59 ` [PATCH 4/7] drm/i915: Disable SF pipelined attribute fetch for SNB ville.syrjala
2014-02-07 20:14 ` Kenneth Graunke
2014-02-08 17:28 ` Daniel Vetter
2014-02-08 19:57 ` Ville Syrjälä
2014-02-04 19:59 ` [PATCH 5/7] drm/i915: Change IVB WIZ hashing mode to 16x4 ville.syrjala
2014-02-04 19:59 ` [PATCH 6/7] drm/i915: Change HSW " ville.syrjala
2014-02-04 19:59 ` [PATCH 7/7] drm/i915: Change BDW " ville.syrjala
2014-02-27 14:07 ` [PATCH 0/7] drm/i915: Some more w/a'ish stuff Antti Koskipää
2014-03-04 14:40 ` Daniel Vetter
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=20140205092731.GJ3891@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.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