[Intel-gfx] [PATCH 3/5] drm/i915: Track ggtt fence reservations under its own mutex

Matthew Auld matthew.william.auld at gmail.com
Wed Aug 21 20:42:46 UTC 2019


On Wed, 21 Aug 2019 at 16:58, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> We can reduce the locking for fence registers from the dev->struct_mutex
> to a local mutex. We could introduce a mutex for the sole purpose of
> tracking the fence acquisition, except there is a little bit of overlap
> with the fault tracking, so use the i915_ggtt.mutex as it covers both.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list