diff options
author | Alan Hourihane <alanh@dhcppc16.(none)> | 2008-03-02 21:48:40 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@dhcppc16.(none)> | 2008-03-02 21:48:40 +0000 |
commit | 9c5ba9f5d153877ab2e7cb623cab5607aa5cd4a8 (patch) | |
tree | b96b356fe076d1f261f5fbd088e64585c6b03379 /shared-core | |
parent | 0e72819629741339af46d0e303f33482acdf0972 (diff) |
Add FENCE registers to MMIO list
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_dma.c | 10 | ||||
-rw-r--r-- | shared-core/i915_drm.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 20095a95..28835a04 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -1469,6 +1469,16 @@ drm_i915_mmio_entry_t mmio_table[] = { I915_MMIO_MAY_READ|I915_MMIO_MAY_WRITE, 0x30010, 6 + }, + [MMIO_REGS_FENCE] = { + I915_MMIO_MAY_READ|I915_MMIO_MAY_WRITE, + 0x2000, + 8 + }, + [MMIO_REGS_FENCE_NEW] = { + I915_MMIO_MAY_READ|I915_MMIO_MAY_WRITE, + 0x3000, + 16 } }; diff --git a/shared-core/i915_drm.h b/shared-core/i915_drm.h index a40cabdc..824aee27 100644 --- a/shared-core/i915_drm.h +++ b/shared-core/i915_drm.h @@ -328,6 +328,8 @@ typedef struct drm_i915_vblank_swap { #define MMIO_REGS_PS_DEPTH_COUNT 8 #define MMIO_REGS_DOVSTA 9 #define MMIO_REGS_GAMMA 10 +#define MMIO_REGS_FENCE 11 +#define MMIO_REGS_FENCE_NEW 12 typedef struct drm_i915_mmio_entry { unsigned int flag; |