diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 2dfcd9bad3ce..9d0ae5ad7e55 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h | |||
@@ -9,6 +9,8 @@ struct intel_hw_status_page { | |||
9 | 9 | ||
10 | #define I915_READ_TAIL(ring) I915_READ(RING_TAIL(ring->mmio_base)) | 10 | #define I915_READ_TAIL(ring) I915_READ(RING_TAIL(ring->mmio_base)) |
11 | #define I915_WRITE_TAIL(ring, val) I915_WRITE(RING_TAIL(ring->mmio_base), val) | 11 | #define I915_WRITE_TAIL(ring, val) I915_WRITE(RING_TAIL(ring->mmio_base), val) |
12 | #define I915_READ_START(ring) I915_READ(RING_START(ring->mmio_base)) | ||
13 | #define I915_WRITE_START(ring, val) I915_WRITE(RING_START(ring->mmio_base), val) | ||
12 | 14 | ||
13 | struct drm_i915_gem_execbuffer2; | 15 | struct drm_i915_gem_execbuffer2; |
14 | struct intel_ring_buffer { | 16 | struct intel_ring_buffer { |
@@ -20,7 +22,6 @@ struct intel_ring_buffer { | |||
20 | struct ring_regs { | 22 | struct ring_regs { |
21 | u32 ctl; | 23 | u32 ctl; |
22 | u32 head; | 24 | u32 head; |
23 | u32 start; | ||
24 | } regs; | 25 | } regs; |
25 | u32 mmio_base; | 26 | u32 mmio_base; |
26 | unsigned long size; | 27 | unsigned long size; |