The currently implemented Xe_LPM+ workarounds are specific to media
version 13.00.  When new IP versions show up in the future, they'll need
their own workaround lists.

Signed-off-by: Matt Roper <matthew.d.ro...@intel.com>
---
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c 
b/drivers/gpu/drm/i915/gt/intel_workarounds.c
index 589d009032fc..d8a1eaa44e69 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -1817,10 +1817,10 @@ gt_init_workarounds(struct intel_gt *gt, struct 
i915_wa_list *wal)
        gt_tuning_settings(gt, wal);
 
        if (gt->type == GT_MEDIA) {
-               if (MEDIA_VER(i915) >= 13)
+               if (MEDIA_VER_FULL(i915) == IP_VER(13, 0))
                        xelpmp_gt_workarounds_init(gt, wal);
                else
-                       MISSING_CASE(MEDIA_VER(i915));
+                       MISSING_CASE(MEDIA_VER_FULL(i915));
 
                return;
        }
-- 
2.41.0

Reply via email to