[Intel-gfx] [PATCH 22/24] drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3.

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


On 8/10/20 12:31 PM, Maarten Lankhorst wrote:
> Make sure vma_lock is not used as inner lock when kernel context is used,
> and add ww handling where appropriate.
>
> Ensure that execbuf selftests keep passing by using ww handling.
>
> Changes since v2:
> - Fix i915_gem_context finally.
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>

LGTM.

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




More information about the Intel-gfx mailing list