drm/i915/selftests: Fix live_requests for all engines
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 28 Feb 2023 04:43:07 +0000 (10:13 +0530)
committerAndi Shyti <andi.shyti@linux.intel.com>
Wed, 1 Mar 2023 11:58:24 +0000 (12:58 +0100)
commit4ce0c8e7cc1c81c2123a7b44223b0bffec00cea8
treedcc96030f31bd7c4dd2ce83949a48ced82cbfd4f
parentabd74d262b07f33d6c298f1b2fe03cfcdb3c72f7
drm/i915/selftests: Fix live_requests for all engines

After the abandonment of i915->kernel_context and since we have started to
create per-gt engine->kernel_context, these tests need to be updated to
instantiate the batch buffer VMA in the correct PPGTT for the context used
to execute each spinner.

v2(Tejas):
  - Clean commit message - Matt
  - Add BUG_ON to match vm
v3(Tejas):
  - Fix dim checkpatch warnings

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230228044307.191639-1-tejas.upadhyay@intel.com
drivers/gpu/drm/i915/selftests/i915_request.c