[Intel-gfx] [PATCH 0/3] Consider multi-gt instead of to_gt()

Tejas Upadhyay tejas.upadhyay at intel.com
Wed Apr 19 06:00:33 UTC 2023


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 at linux.intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>

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



More information about the Intel-gfx mailing list