From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: intel-gfx@lists.freedesktop.org,
Matthew Auld <matthew.auld@intel.com>,
Mika Kuoppala <mika.kuoppala@intel.com>
Subject: Re: [PATCH] drm/i915: Return IDI Hash Mask setup for gen9+
Date: Thu, 14 Sep 2017 12:52:42 -0700 [thread overview]
Message-ID: <20170914195242.dsifbhc4mvujzloe@intel.com> (raw)
In-Reply-To: <150541711168.19729.10859621004040036729@mail.alporthouse.com>
On Thu, Sep 14, 2017 at 07:25:11PM +0000, Chris Wilson wrote:
> Quoting Rodrigo Vivi (2017-09-14 20:18:41)
> > diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
> > index f445587c1a4b..25b59dbb29b0 100644
> > --- a/drivers/gpu/drm/i915/i915_gem.c
> > +++ b/drivers/gpu/drm/i915/i915_gem.c
> > @@ -4714,7 +4714,7 @@ int i915_gem_init_hw(struct drm_i915_private *dev_priv)
> > /* Double layer security blanket, see i915_gem_init() */
> > intel_uncore_forcewake_get(dev_priv, FORCEWAKE_ALL);
> >
> > - if (HAS_EDRAM(dev_priv) && INTEL_GEN(dev_priv) < 9)
> > + if (HAS_EDRAM(dev_priv))
> > I915_WRITE(HSW_IDICR, I915_READ(HSW_IDICR) | IDIHASHMSK(0xf));
>
> > "It is required for GFX Driver to set [19:16] to 1 when
> > eDRAM configuration is enabled."
>
> 0xf != 1 ?
yeap... I had same question here...
but the old behaviour check against the old spec convinced my brain that
"[19:16] = 1" means "[19]=1 & [18]=1 & [17]=1 & [16]=1"
otherise they would just tell [16]=1 or [IDI HASH MASK]=1 or [21:16]=1
but that really seems a big elephant that needs more clarification as Ville
mentioned...
> -Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-09-14 19:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-14 19:18 [PATCH] drm/i915: Return IDI Hash Mask setup for gen9+ Rodrigo Vivi
2017-09-14 19:25 ` Chris Wilson
2017-09-14 19:52 ` Rodrigo Vivi [this message]
2017-09-14 19:38 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-09-14 19:44 ` [PATCH] " Ville Syrjälä
2017-09-14 19:54 ` Rodrigo Vivi
2017-09-15 4:05 ` ✗ Fi.CI.IGT: warning for " Patchwork
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=20170914195242.dsifbhc4mvujzloe@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
--cc=mika.kuoppala@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.