[Intel-gfx] [PATCH] drm/i915/selftests: Mark contexts as lost during freeing of mock device

Matthew Auld matthew.william.auld at gmail.com
Wed Jul 19 17:40:05 UTC 2017


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>


More information about the Intel-gfx mailing list