drm/i915/gt: drm/i915/gem: drm/i915/selftests: Consider multi-gt instead of to_gt() In order to enable complete multi-GT, use the GT reference obtained directly from the engine, rather than relying on the to_gt(), which only provides a reference to the primary GT. Problem appear when it runs on platform like MTL where different set of engines are possible on different GTs. Cc: Andi Shyti <andi.shyti@xxxxxxxxxxxxxxx> Signed-off-by: Tejas Upadhyay <tejas.upadhyay@xxxxxxxxx> Tejas Upadhyay (3): drm/i915/gt: Consider multi-gt instead of to_gt() drm/i915/gem: Consider multi-gt instead of to_gt() drm/i915/selftests: Consider multi-gt instead of to_gt() .../drm/i915/gem/selftests/i915_gem_context.c | 4 +- drivers/gpu/drm/i915/gt/intel_engine_user.c | 2 +- .../gpu/drm/i915/selftests/igt_live_test.c | 46 +++++++++++-------- 3 files changed, 30 insertions(+), 22 deletions(-) -- 2.25.1