From: Ben Widawsky <ben@bwidawsk.net>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 05/11] drm/i915: ppgtt register definitions
Date: Tue, 29 Nov 2011 15:57:41 -0800 [thread overview]
Message-ID: <20111129235740.GG25081@seagal.amr.corp.intel.com> (raw)
In-Reply-To: <1322512539-3923-6-git-send-email-daniel.vetter@ffwll.ch>
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.
> #define GEN6_GDRST 0x941c
> #define GEN6_GRDOM_FULL (1 << 0)
> #define GEN6_GRDOM_RENDER (1 << 1)
> @@ -110,6 +117,16 @@
>
> #define GEN6_PTES_PER_PD 1024
>
> +#define RING_PP_DIR_BASE(ring) ((ring)->mmio_base+0x228)
> +#define RING_PP_DIR_BASE_READ(ring) ((ring)->mmio_base+0x518)
> +#define RING_PP_DIR_DCLV(ring) ((ring)->mmio_base+0x220)
> +#define PP_DIR_DCLV_2G 0xffffffff
> +
> +#define GAM_ECOCHK 0x4090
> +#define ECOCHK_SNB_BIT (1<<10)
> +#define ECOCHK_PPGTT_CACHE64B (0x3<<3)
> +#define ECOCHK_PPGTT_CACHE4B (0x0<<3)
> +
> /* VGA stuff */
>
> #define VGA_ST01_MDA 0x3ba
> @@ -422,6 +439,7 @@
>
> #define GFX_MODE 0x02520
> #define GFX_MODE_GEN7 0x0229c
> +#define RING_MODE_GEN7(ring) ((ring)->mmio_base+0x29c)
> #define GFX_RUN_LIST_ENABLE (1<<15)
> #define GFX_TLB_INVALIDATE_ALWAYS (1<<13)
> #define GFX_SURFACE_FAULT_ENABLE (1<<12)
Ben
next prev parent reply other threads:[~2011-11-29 23:57 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 [this message]
2011-11-30 7:57 ` Daniel Vetter
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=20111129235740.GG25081@seagal.amr.corp.intel.com \
--to=ben@bwidawsk.net \
--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