[Intel-gfx] [PATCH v3 05/63] drm/i915: Ensure we hold the object mutex in pin correctly.

Thomas Hellström (Intel) thomas_os at shipmail.org
Tue Oct 27 11:07:07 UTC 2020


On 10/15/20 1:25 PM, Maarten Lankhorst wrote:
> Currently we have a lot of places where we hold the gem object lock,
> but haven't yet been converted to the ww dance. Complain loudly about
> those places.
>
> i915_vma_pin shouldn't have the obj lock held, so we can do a ww dance,
> while i915_vma_pin_ww should.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

Reviewed-by: Thomas Hellström <thomas.hellstrom at intel.com>




More information about the Intel-gfx mailing list