[Intel-gfx] [PATCH] drm/i915: Report resv_obj allocation failure

Chris Wilson chris at chris-wilson.co.uk
Fri Aug 2 15:05:59 UTC 2019


Quoting Matthew Auld (2019-08-02 16:00:18)
> On Tue, 30 Jul 2019 at 21:58, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> >
> > Since commit 64d6c500a384 ("drm/i915: Generalise GPU activity
> > tracking"), we have been prepared for i915_vma_move_to_active() to fail.
> > We can take advantage of this to report the failure for allocating the
> > shared-fence slot in the reservation_object.
> >
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>

Thanks. One day, we should lift even the reservation allocation out of
the reservation lock. (That will make it move convenient to use that
lock from inside fs-reclaim paths.)
-Chris


More information about the Intel-gfx mailing list