drm/i915: Remove DRI1 ring accessors and API
With the deprecation of UMS, and by association DRI1, we have a tough choice when updating the ring access routines. We either rewrite the DRI1 routines blindly without testing (so likely to be broken) or take the liberty of declaring them no longer supported and remove them entirely. This takes the latter approach. v2: Also remove the DRI1 sarea updates Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> [danvet: Fix rebase conflicts.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:

committed by
Daniel Vetter

parent
7ba717cf36
commit
5c6c600354
@@ -3764,8 +3764,6 @@ static irqreturn_t i8xx_irq_handler(int irq, void *arg)
|
||||
I915_WRITE16(IIR, iir & ~flip_mask);
|
||||
new_iir = I915_READ16(IIR); /* Flush posted writes */
|
||||
|
||||
i915_update_dri1_breadcrumb(dev);
|
||||
|
||||
if (iir & I915_USER_INTERRUPT)
|
||||
notify_ring(dev, &dev_priv->ring[RCS]);
|
||||
|
||||
@@ -4002,8 +4000,6 @@ static irqreturn_t i915_irq_handler(int irq, void *arg)
|
||||
iir = new_iir;
|
||||
} while (iir & ~flip_mask);
|
||||
|
||||
i915_update_dri1_breadcrumb(dev);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -4231,8 +4227,6 @@ static irqreturn_t i965_irq_handler(int irq, void *arg)
|
||||
iir = new_iir;
|
||||
}
|
||||
|
||||
i915_update_dri1_breadcrumb(dev);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user