[Intel-gfx] [PATCH] drm/i915: Only activate i915_active debugobject once

Matthew Auld matthew.auld at intel.com
Tue Aug 27 15:30:40 UTC 2019


On 27/08/2019 14:26, Chris Wilson wrote:
> The point of debug_object_activate is to mark we first, only the first,
> acquisition. 
-eparse

> The object then remains active until the last release.
> However, we marked up all successful first acquires even though we
> allowed concurrent parties to try and acquire the i915_active
> simultaneously (serialised by the i915_active.mutex).
> 
> Testcase: igt/gem_mmap_gtt/fault-concurrent
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>



More information about the Intel-gfx mailing list