[Intel-gfx] [PATCH 15/24] drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin.

Thomas Hellström (Intel) thomas_os at shipmail.org
Wed Aug 12 20:28:23 UTC 2020


On 8/12/20 9:32 PM, Thomas Hellström (Intel) wrote:
>
>> +    if (!err && ce->ring->vma->obj)
>> +        err = i915_gem_object_lock(ce->ring->vma->obj, ww);
>> +    if (!err && ce->state)
>> +        err = i915_gem_object_lock(ce->state->obj, ww);
>
> Could these three locks be made interruptible?

Never mind, I see now how that's done.

/Thomas




More information about the Intel-gfx mailing list