drm/i915: Remove I915_READ_{NOPID, SYNC_0, SYNC_1})()
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 19 Aug 2013 18:32:03 +0000 (19:32 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 23 Aug 2013 12:52:24 +0000 (14:52 +0200)
The code directly uses the registers and ring->mmio_base.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.h

index 5e6be842d225d0a51610bdba19ad46cb29555b63..432ad5311ba62693633f79d6c5d59429704ac1cb 100644 (file)
@@ -33,10 +33,6 @@ struct  intel_hw_status_page {
 #define I915_READ_IMR(ring) I915_READ(RING_IMR((ring)->mmio_base))
 #define I915_WRITE_IMR(ring, val) I915_WRITE(RING_IMR((ring)->mmio_base), val)
 
-#define I915_READ_NOPID(ring) I915_READ(RING_NOPID((ring)->mmio_base))
-#define I915_READ_SYNC_0(ring) I915_READ(RING_SYNC_0((ring)->mmio_base))
-#define I915_READ_SYNC_1(ring) I915_READ(RING_SYNC_1((ring)->mmio_base))
-
 enum intel_ring_hangcheck_action {
        HANGCHECK_WAIT,
        HANGCHECK_ACTIVE,