Skip to content

Commit

Permalink
drm/i915/mtl: Don't mask off CCS according to DSS fusing
Browse files Browse the repository at this point in the history
Unlike the Xe_HP platforms, MTL only has a single CCS engine; the
quad-based engine masking logic does not apply to this platform (or
presumably any future platforms that only have 0 or 1 CCS).

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220818234202.451742-5-radhakrishna.sripada@intel.com
  • Loading branch information
Matt Roper authored and Radhakrishna Sripada committed Aug 25, 2022
1 parent da30390 commit 068a0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gt/intel_engine_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ static void engine_mask_apply_compute_fuses(struct intel_gt *gt)
unsigned long ccs_mask;
unsigned int i;

if (GRAPHICS_VER_FULL(i915) < IP_VER(12, 50))
if (hweight32(CCS_MASK(gt)) <= 1)
return;

ccs_mask = intel_slicemask_from_xehp_dssmask(info->sseu.compute_subslice_mask,
Expand Down

0 comments on commit 068a0f5

Please sign in to comment.