]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/xelpmp: Expose media as another GT
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 6 Sep 2022 23:49:32 +0000 (16:49 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 12 Sep 2022 12:23:12 +0000 (15:23 +0300)
commit096be51c680418b15b4d7fb02a1dee6ba9cbbb4c
tree3ab2f1a97276cbd3f340d24fee9e6c491e37fac9
parentb073981e2b57480096fb37164aa3518d3e5fe828
drm/i915/xelpmp: Expose media as another GT

Xe_LPM+ platforms have "standalone media."  I.e., the media unit is
designed as an additional GT with its own engine list, GuC, forcewake,
etc.  Let's allow platforms to include media GTs in their device info.

v2:
 - Simplify GSI register handling and split it out to a separate patch
   for ease of review.  (Daniele)

Cc: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Acked-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220906234934.3655440-13-matthew.d.roper@intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt_regs.h
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_sa_media.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_sa_media.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_pci.c