public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Daniel Vetter <daniel.vetter@ffwll.ch>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 05/11] drm/i915: ppgtt register definitions
Date: Wed, 30 Nov 2011 08:57:56 +0100	[thread overview]
Message-ID: <20111130075726.GA3823@phenom.ffwll.local> (raw)
In-Reply-To: <20111129235740.GG25081@seagal.amr.corp.intel.com>

On Tue, Nov 29, 2011 at 03:57:41PM -0800, Ben Widawsky wrote:
> On Mon, Nov 28, 2011 at 09:35:32PM +0100, Daniel Vetter wrote:
> > Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
> > ---
> >  drivers/gpu/drm/i915/i915_reg.h |   18 ++++++++++++++++++
> >  1 files changed, 18 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> > index e9f5dc8..7227446 100644
> > --- a/drivers/gpu/drm/i915/i915_reg.h
> > +++ b/drivers/gpu/drm/i915/i915_reg.h
> > @@ -86,6 +86,13 @@
> >  #define   GEN6_MBC_SNPCR_LOW	(2<<21)
> >  #define   GEN6_MBC_SNPCR_MIN	(3<<21) /* only 1/16th of the cache is shared */
> >  
> > +#define GEN6_MBCTL		0x0907c
> > +#define   GEN6_MBCTL_ENABLE_BOOT_FETCH	(1 << 4)
> > +#define   GEN6_MBCTL_CTX_FETCH_NEEDED	(1 << 3)
> > +#define   GEN6_MBCTL_BME_UPDATE_ENABLE	(1 << 2)
> > +#define   GEN6_MBCTL_MAE_UPDATE_ENABLE	(1 << 1)
> > +#define   GEN6_MBCTL_BOOT_FETCH_MECH	(1 << 0)
> > +
> 
> Maybe grep fail, but I don't see these registers used later in the
> series.

They're not used. But both public snb docs and Bspec contain notices that
you need to frob the boot mode enable bit in here, which afaics doesn't
exist under that exact name. Also, frobbing any of these seems to just
reduce the expected lifetime of my gpus.

But in case anyone wants to try things out, it's imo good to include the
definitions (especially since public Docs don't explain anything about
this reg than that warning about ppgtt).
-Daniel
-- 
Daniel Vetter
Mail: daniel@ffwll.ch
Mobile: +41 (0)79 365 57 48

  reply	other threads:[~2011-11-30  7:56 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-28 20:35 [PATCH 00/11] aliasing ppgtt support v2 Daniel Vetter
2011-11-28 20:35 ` [PATCH 01/11] agp/intel-gtt: export the scratch page dma address Daniel Vetter
2011-11-29 23:52   ` Ben Widawsky
2011-11-28 20:35 ` [PATCH 02/11] agp/intel-gtt: export the gtt pagetable iomapping Daniel Vetter
2011-11-29 23:53   ` Ben Widawsky
2011-11-28 20:35 ` [PATCH 03/11] drm/i915: initialization/teardown for the aliasing ppgtt Daniel Vetter
2011-11-29 18:50   ` Ben Widawsky
2011-11-29 19:06     ` Daniel Vetter
2011-11-29 19:09       ` [PATCH] " Daniel Vetter
2011-11-29 19:54         ` Daniel Vetter
2011-11-29 20:55           ` Daniel Vetter
2011-11-29 23:29   ` [PATCH 03/11] " Ben Widawsky
2011-11-30  8:07     ` Daniel Vetter
2011-11-29 23:41   ` Ben Widawsky
2011-11-30  8:09     ` Daniel Vetter
2011-11-30 17:35       ` Ben Widawsky
2011-11-29 23:49   ` Ben Widawsky
2011-11-30  9:55     ` Daniel Vetter
2011-11-28 20:35 ` [PATCH 04/11] drm/i915: ppgtt binding/unbinding support Daniel Vetter
2011-11-29 23:46   ` Ben Widawsky
2011-11-28 20:35 ` [PATCH 05/11] drm/i915: ppgtt register definitions Daniel Vetter
2011-11-29 23:57   ` Ben Widawsky
2011-11-30  7:57     ` Daniel Vetter [this message]
2011-11-28 20:35 ` [PATCH 06/11] drm/i915: ppgtt debugfs info Daniel Vetter
2011-11-30  0:02   ` Ben Widawsky
2011-11-28 20:35 ` [PATCH 07/11] drm/i915: per-ring fault reg Daniel Vetter
2011-11-30  0:13   ` Eugeni Dodonov
2011-11-30  9:41     ` Daniel Vetter
2011-11-29  9:42 ` [PATCH 00/11] aliasing ppgtt support v2 Chris Wilson
2011-11-30  0:11 ` Eugeni Dodonov

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=20111130075726.GA3823@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=daniel.vetter@ffwll.ch \
    --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