[Intel-gfx] [PATCH] drm/i915/selftests: Mark contexts as lost during freeing of mock device
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 19 18:16:43 UTC 2017
Quoting Matthew Auld (2017-07-19 18:40:05)
> On 19 July 2017 at 14:59, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > We need to unpin the last retired context early in the shutdown sequence
> > so that its RCU free is done before we try to free the context ida. I
> > included this in a later patch ("drm/i915: Keep a recent cache of freed
> > contexts objects for reuse") and so missed that the selftests were broken
> > in the meantime.
> >
> > Reported-by: Matthew Auld <matthew.auld at intel.com>
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101627
> > Fixes: 5f09a9c8ab6b ("drm/i915: Allow contexts to be unreferenced locklessly")
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> > Cc: Mika Kuoppala <mika.kuoppala at intel.com>
> > Cc: Matthew Auld <matthew.auld at intel.com>
>
> Makes sense.
>
> Tested-by: Matthew Auld <matthew.auld at intel.com>
> Reviewed-by: Matthew Auld <matthew.auld at intel.com>
Obvious in hindsight, pushed. Thanks,
-Chris
>
More information about the Intel-gfx
mailing list