• Chris Wilson's avatar
    drm/i915: Remove the deferred-free list · 1488fc08
    Chris Wilson authored
    The use of the mm_list by deferred-free breaks the following patches to
    extend the range of objects tracked. We can simplify things if we just
    make the unbind during free uninterrutible.
    Note that unbinding should never fail, because we hold an additional
    reference on every active object. Only the ilk vt-d workaround breaks
    this, but already takes care of not failing by waiting for the gpu to
    quiescent non-interruptible. But the existence of the deferred free
    list casted some doubts on this theory, hence WARN if the unbind fails
    and only then retry non-interruptible.
    We can kill this additional code after a release in case the theory is
    indeed right and no one has hit that WARN.
    Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>