diff options
author | Eric Anholt <eric@anholt.net> | 2009-10-26 19:44:17 -0400 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-26 16:23:18 -0500 |
commit | 4e901fdc263d32d4cb4c59ec16ff0874129ec8c9 (patch) | |
tree | 969a4593a63fc4c1f510f5f85fae7c71571b3179 /drivers/gpu/drm/i915/i915_reg.h | |
parent | bad720ff3e8e47a04bd88d9bbc8317e7d7e049d3 (diff) |
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 @@ | |||
235 | #define I965_FENCE_REG_VALID (1<<0) | 235 | #define I965_FENCE_REG_VALID (1<<0) |
236 | #define I965_FENCE_MAX_PITCH_VAL 0x0400 | 236 | #define I965_FENCE_MAX_PITCH_VAL 0x0400 |
237 | 237 | ||
238 | #define FENCE_REG_SANDYBRIDGE_0 0x100000 | ||
239 | #define SANDYBRIDGE_FENCE_PITCH_SHIFT 32 | ||
240 | |||
238 | /* | 241 | /* |
239 | * Instruction and interrupt control regs | 242 | * Instruction and interrupt control regs |
240 | */ | 243 | */ |