drm/i915: Make wa list per-gt
authorVenkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Fri, 17 Sep 2021 17:08:45 +0000 (10:08 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 20 Sep 2021 15:06:36 +0000 (08:06 -0700)
commitd0a652493abd86180ad0cc0ed44427831d37fabe
treed2fe401f57955a1c793aa1b587b153e0ede8dea2
parent9a6b201bd5e8b54610cf2fd54b44e36925c9d4b3
drm/i915: Make wa list per-gt

Support for multiple GT's within a single i915 device will be arriving
soon.  Since each GT may have its own fusing and require different
workarounds, we need to make the GT workaround functions and multicast
steering setup per-gt.

Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210917170845.836358-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_workarounds.c
drivers/gpu/drm/i915/gt/intel_workarounds.h
drivers/gpu/drm/i915/gt/selftest_workarounds.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c