drm/i915/mtl: MTL has one GSC CS on the media GT
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 8 Dec 2022 20:05:21 +0000 (12:05 -0800)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 9 Dec 2022 16:28:48 +0000 (08:28 -0800)
Now that we have the GSC FW support code as a user to the GSC CS, we
can add the relevant flag to the engine mask. Note that the engine will
still be disabled until we define the GSC FW binary file.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221208200521.2928378-7-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/i915_pci.c

index cf3b28d71d2b38ac366be5ef61bb6d2a6861af3b..81952c60f2677c67cee91a7fec97cc1d7b79024c 100644 (file)
@@ -1125,7 +1125,7 @@ static const struct intel_gt_definition xelpmp_extra_gt[] = {
                .type = GT_MEDIA,
                .name = "Standalone Media GT",
                .gsi_offset = MTL_MEDIA_GSI_BASE,
-               .engine_mask = BIT(VECS0) | BIT(VCS0) | BIT(VCS2),
+               .engine_mask = BIT(VECS0) | BIT(VCS0) | BIT(VCS2) | BIT(GSC0),
        },
        {}
 };