drm/i915/selftests: add igt_vma_move_to_active_unlocked
authorAndrzej Hajda <andrzej.hajda@intel.com>
Wed, 19 Oct 2022 21:59:06 +0000 (23:59 +0200)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 16 Nov 2022 09:27:32 +0000 (09:27 +0000)
commit56d7bd74a15a9c93c21e07de0a36a378576827cf
tree5599060d74977e3ed35af603a50f6d3918dabfca
parent2a76fc899a043160ed20bef83435ff464c655815
drm/i915/selftests: add igt_vma_move_to_active_unlocked

All calls to i915_vma_move_to_active are surrounded by vma lock
and/or there are multiple local helpers for it in particular tests.
Let's replace it by common helper.
The patch should not introduce functional changes.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221019215906.295296-3-andrzej.hajda@intel.com
drivers/gpu/drm/i915/gem/selftests/i915_gem_client_blt.c
drivers/gpu/drm/i915/gem/selftests/igt_gem_utils.h
drivers/gpu/drm/i915/gt/selftest_hangcheck.c
drivers/gpu/drm/i915/gt/selftest_lrc.c
drivers/gpu/drm/i915/gt/selftest_mocs.c
drivers/gpu/drm/i915/selftests/igt_spinner.c