[RFC PATCH] drm/i915/gt: Apply Workaround 22016122933 to all the GT's

Andi Shyti andi.shyti at linux.intel.com
Wed Sep 27 15:18:39 UTC 2023


From: Nirmoy Das <nirmoy.das at intel.com>

Commit f1530f912ed8 ("drm/i915/gt: Apply workaround 22016122933
correctly") adds the workaround only in non media GT's, which is
GT-0 in case of MTL. It turns out that we need to apply it in
both the GT's.

Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Signed-off-by: Andi Shyti <andi.shyti at linux.intel.com>
Cc: Jonathan Cavitt <jonathan.cavitt at intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>
---
 drivers/gpu/drm/i915/gt/intel_gt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_gt.c b/drivers/gpu/drm/i915/gt/intel_gt.c
index 93062c35e072..7f7af1d4dc10 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt.c
+++ b/drivers/gpu/drm/i915/gt/intel_gt.c
@@ -1022,5 +1022,5 @@ enum i915_map_type intel_gt_coherent_map_type(struct intel_gt *gt,
 
 bool intel_gt_needs_wa_22016122933(struct intel_gt *gt)
 {
-	return MEDIA_VER_FULL(gt->i915) == IP_VER(13, 0) && gt->type == GT_MEDIA;
+	return MEDIA_VER_FULL(gt->i915) == IP_VER(13, 0);
 }
-- 
2.40.1



More information about the dri-devel mailing list