OSDN Git Service

Add FENCE registers to MMIO list
authorAlan Hourihane <alanh@dhcppc16.(none)>
Sun, 2 Mar 2008 21:48:40 +0000 (21:48 +0000)
committerAlan Hourihane <alanh@dhcppc16.(none)>
Sun, 2 Mar 2008 21:48:40 +0000 (21:48 +0000)
shared-core/i915_dma.c
shared-core/i915_drm.h

index 20095a9..28835a0 100644 (file)
@@ -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
        }
 };
 
index a40cabd..824aee2 100644 (file)
@@ -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;