drm/i915/pvc: read fuses for link copy engines
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 5 May 2022 21:38:12 +0000 (14:38 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 10 May 2022 22:33:13 +0000 (15:33 -0700)
commitad5f74f3420183052532a220edd9a37aba92724a
treef7326020136548fd91a62bba1d2acbe3184f31e2
parent1a1a5a315ee805bec457fd214250c088efadb50b
drm/i915/pvc: read fuses for link copy engines

The new Link Copy engines in PVC may be fused off according to the
mslice_mask. Each bit of the MEML3_EN_MASK we read from the
GEN10_MIRROR_FUSE3 register disables a pair of link copy engines.

v2 (Tvrtko):
 - Minor cosmetic changes: s/u8/unsigned long/, use instance local
   variable.  (Tvrtko)

Bspec: 44483
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220505213812.3979301-13-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_engine_cs.c