struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
        enum pipe pipe = crtc->pipe;
 
-       return DSB_STATUS & I915_READ(DSB_CTRL(pipe, dsb->id));
+       return DSB_STATUS & intel_de_read(dev_priv, DSB_CTRL(pipe, dsb->id));
 }
 
 static inline bool intel_dsb_enable_engine(struct intel_dsb *dsb)
        enum pipe pipe = crtc->pipe;
        u32 dsb_ctrl;
 
-       dsb_ctrl = I915_READ(DSB_CTRL(pipe, dsb->id));
+       dsb_ctrl = intel_de_read(dev_priv, DSB_CTRL(pipe, dsb->id));
        if (DSB_STATUS & dsb_ctrl) {
                DRM_DEBUG_KMS("DSB engine is busy.\n");
                return false;
        }
 
        dsb_ctrl |= DSB_ENABLE;
-       I915_WRITE(DSB_CTRL(pipe, dsb->id), dsb_ctrl);
+       intel_de_write(dev_priv, DSB_CTRL(pipe, dsb->id), dsb_ctrl);
 
-       POSTING_READ(DSB_CTRL(pipe, dsb->id));
+       intel_de_posting_read(dev_priv, DSB_CTRL(pipe, dsb->id));
        return true;
 }
 
        enum pipe pipe = crtc->pipe;
        u32 dsb_ctrl;
 
-       dsb_ctrl = I915_READ(DSB_CTRL(pipe, dsb->id));
+       dsb_ctrl = intel_de_read(dev_priv, DSB_CTRL(pipe, dsb->id));
        if (DSB_STATUS & dsb_ctrl) {
                DRM_DEBUG_KMS("DSB engine is busy.\n");
                return false;
        }
 
        dsb_ctrl &= ~DSB_ENABLE;
-       I915_WRITE(DSB_CTRL(pipe, dsb->id), dsb_ctrl);
+       intel_de_write(dev_priv, DSB_CTRL(pipe, dsb->id), dsb_ctrl);
 
-       POSTING_READ(DSB_CTRL(pipe, dsb->id));
+       intel_de_posting_read(dev_priv, DSB_CTRL(pipe, dsb->id));
        return true;
 }
 
        u32 reg_val;
 
        if (!buf) {
-               I915_WRITE(reg, val);
+               intel_de_write(dev_priv, reg, val);
                return;
        }
 
        u32 *buf = dsb->cmd_buf;
 
        if (!buf) {
-               I915_WRITE(reg, val);
+               intel_de_write(dev_priv, reg, val);
                return;
        }
 
                DRM_ERROR("HEAD_PTR write failed - dsb engine is busy.\n");
                goto reset;
        }
-       I915_WRITE(DSB_HEAD(pipe, dsb->id), i915_ggtt_offset(dsb->vma));
+       intel_de_write(dev_priv, DSB_HEAD(pipe, dsb->id),
+                      i915_ggtt_offset(dsb->vma));
 
        tail = ALIGN(dsb->free_pos * 4, CACHELINE_BYTES);
        if (tail > dsb->free_pos * 4)
        }
        DRM_DEBUG_KMS("DSB execution started - head 0x%x, tail 0x%x\n",
                      i915_ggtt_offset(dsb->vma), tail);
-       I915_WRITE(DSB_TAIL(pipe, dsb->id), i915_ggtt_offset(dsb->vma) + tail);
+       intel_de_write(dev_priv, DSB_TAIL(pipe, dsb->id),
+                      i915_ggtt_offset(dsb->vma) + tail);
        if (wait_for(!is_dsb_busy(dsb), 1)) {
                DRM_ERROR("Timed out waiting for DSB workload completion.\n");
                goto reset;