From: Matt Roper <matthew.d.roper@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: matthew.d.roper@intel.com
Subject: [Intel-gfx] [PATCH v3 2/9] drm/i915/xelpmp: Don't assume workarounds extend to future platforms
Date: Thu, 10 Aug 2023 14:57:53 -0700 [thread overview]
Message-ID: <20230810215750.3609161-13-matthew.d.roper@intel.com> (raw)
In-Reply-To: <20230810215750.3609161-11-matthew.d.roper@intel.com>
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.roper@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.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 3ae0dbd39eaa..3108ad1d6207 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -1818,10 +1818,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
next prev parent reply other threads:[~2023-08-10 21:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 21:57 [Intel-gfx] [PATCH v3 0/9] Reduce MTL-specific platform checks Matt Roper
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 1/9] drm/i915: Consolidate condition for Wa_22011802037 Matt Roper
2023-08-10 21:57 ` Matt Roper [this message]
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 3/9] drm/i915/xelpg: Call Xe_LPG workaround functions based on IP version Matt Roper
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 4/9] drm/i915: Eliminate IS_MTL_GRAPHICS_STEP Matt Roper
2023-08-11 7:32 ` Jani Nikula
2023-08-11 18:02 ` Matt Roper
2023-08-14 10:25 ` Jani Nikula
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 5/9] drm/i915: Eliminate IS_MTL_MEDIA_STEP Matt Roper
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 6/9] drm/i915: Eliminate IS_MTL_DISPLAY_STEP Matt Roper
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 7/9] drm/i915/mtl: Eliminate subplatforms Matt Roper
2023-08-10 21:57 ` [Intel-gfx] [PATCH v3 8/9] drm/i915/display: Eliminate IS_METEORLAKE checks Matt Roper
2023-08-10 21:58 ` [Intel-gfx] [PATCH v3 9/9] drm/i915: Replace several IS_METEORLAKE with proper IP version checks Matt Roper
2023-08-11 1:45 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Reduce MTL-specific platform checks (rev3) Patchwork
2023-08-11 1:46 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-08-11 2:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-08-12 3:52 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230810215750.3609161-13-matthew.d.roper@intel.com \
--to=matthew.d.roper@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox