linux/drivers/gpu/drm/i915/gem/selftests
Maarten Lankhorst 15b6c92498 drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3.
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@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200819140904.1708856-22-maarten.lankhorst@linux.intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2020-09-07 14:32:06 +03:00
..
huge_gem_object.c drm/i915/gem: Give each object class a friendly name 2020-05-29 23:38:29 +01:00
huge_gem_object.h
huge_pages.c drm/i915: Remove locking from i915_gem_object_prepare_read/write 2020-09-07 14:29:53 +03:00
i915_gem_client_blt.c drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. 2020-09-07 14:29:44 +03:00
i915_gem_coherency.c drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3. 2020-09-07 14:32:06 +03:00
i915_gem_context.c drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3. 2020-09-07 14:32:06 +03:00
i915_gem_dmabuf.c
i915_gem_execbuffer.c drm/i915: Make sure execbuffer always passes ww state to i915_vma_pin. 2020-09-07 14:31:13 +03:00
i915_gem_mman.c drm/i915: Move i915_vma_lock in the selftests to avoid lock inversion, v3. 2020-09-07 14:32:06 +03:00
i915_gem_object_blt.c drm/i915/selftests: Exercise all copy engines with the blt routines 2020-06-04 14:24:21 +01:00
i915_gem_object.c
i915_gem_phys.c drm/i915: Add an implementation for i915_gem_ww_ctx locking, v2. 2020-09-07 14:29:44 +03:00
igt_gem_utils.c drm/i915/selftests: Always flush before unpining after writing 2020-05-11 16:50:04 +01:00
igt_gem_utils.h
mock_context.c drm/i915/gem: Split the context's obj:vma lut into its own mutex 2020-07-03 10:13:13 +01:00
mock_context.h drm/i915/selftests: Exercise all copy engines with the blt routines 2020-06-04 14:24:21 +01:00
mock_dmabuf.c mm: remove the prot argument from vm_map_ram 2020-06-02 10:59:11 -07:00
mock_dmabuf.h
mock_gem_object.h