[Intel-gfx] [PATCH 38/45] drm/i915: Drop the deferred active reference

Matthew Auld matthew.william.auld at gmail.com
Wed May 1 10:34:33 UTC 2019


On Thu, 25 Apr 2019 at 10:20, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> An old optimisation to reduce the number of atomics per batch sadly
> relies on struct_mutex for coordination. In order to remove struct_mutex
> from serialising object/context closing, always taking and releasing an
> active reference on first use / last use greatly simplifies the locking.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list