diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-26 16:44:17 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-26 13:23:18 -0800 |
commit | 4e901fdc263d32d4cb4c59ec16ff0874129ec8c9 (patch) | |
tree | 969a4593a63fc4c1f510f5f85fae7c71571b3179 /drivers/gpu/drm/i915/i915_reg.h | |
parent | bad720ff3e8e47a04bd88d9bbc8317e7d7e049d3 (diff) | |
download | lwn-4e901fdc263d32d4cb4c59ec16ff0874129ec8c9.tar.gz lwn-4e901fdc263d32d4cb4c59ec16ff0874129ec8c9.zip |
drm/i915: Set up fence registers on sandybridge.
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index eff8d850a758..1232229450e7 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -235,6 +235,9 @@ #define I965_FENCE_REG_VALID (1<<0) #define I965_FENCE_MAX_PITCH_VAL 0x0400 +#define FENCE_REG_SANDYBRIDGE_0 0x100000 +#define SANDYBRIDGE_FENCE_PITCH_SHIFT 32 + /* * Instruction and interrupt control regs */ |