From: Gustavo Sousa <gustavo.sousa@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Matt Roper <matthew.d.roper@intel.com>,
Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com>,
Tejas Upadhyay <tejas.upadhyay@intel.com>
Subject: [PATCH v3 1/4] drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM
Date: Fri, 20 Sep 2024 18:13:15 -0300 [thread overview]
Message-ID: <20240920211459.255181-2-gustavo.sousa@intel.com> (raw)
In-Reply-To: <20240920211459.255181-1-gustavo.sousa@intel.com>
According to Bspec, Xe2 steering tables must be used for Xe2_HPM, just
as it is with Xe2_LPM. Update our driver to reflect that.
Bspec: 71186
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
---
drivers/gpu/drm/xe/xe_gt_mcr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_gt_mcr.c b/drivers/gpu/drm/xe/xe_gt_mcr.c
index 2671ce6b1a76..4c0767403881 100644
--- a/drivers/gpu/drm/xe/xe_gt_mcr.c
+++ b/drivers/gpu/drm/xe/xe_gt_mcr.c
@@ -441,7 +441,7 @@ void xe_gt_mcr_init(struct xe_gt *gt)
if (gt->info.type == XE_GT_TYPE_MEDIA) {
drm_WARN_ON(&xe->drm, MEDIA_VER(xe) < 13);
- if (MEDIA_VER(xe) >= 20) {
+ if (MEDIA_VERx100(xe) >= 1301) {
gt->steering[OADDRM].ranges = xe2lpm_gpmxmt_steering_table;
gt->steering[INSTANCE0].ranges = xe2lpm_instance0_steering_table;
} else {
--
2.46.1
next prev parent reply other threads:[~2024-09-20 21:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-20 21:13 [PATCH v3 0/4] Xe2 performance tuning updates Gustavo Sousa
2024-09-20 21:13 ` Gustavo Sousa [this message]
2024-09-23 5:07 ` [PATCH v3 1/4] drm/xe/mcr: Use Xe2_LPM steering tables for Xe2_HPM Upadhyay, Tejas
2024-09-20 21:13 ` [PATCH v3 2/4] drm/xe/xe2: Extend performance tuning to media GT Gustavo Sousa
2024-09-20 21:13 ` [PATCH v3 3/4] drm/xe/xe2: Assume tuning settings also apply for future " Gustavo Sousa
2024-09-20 21:13 ` [PATCH v3 4/4] drm/xe/xe2: Add performance tuning for L3 cache flushing Gustavo Sousa
2024-09-20 21:48 ` Matt Roper
2024-09-23 5:08 ` Upadhyay, Tejas
2024-09-20 21:20 ` ✓ CI.Patch_applied: success for Xe2 performance tuning updates (rev3) Patchwork
2024-09-20 21:21 ` ✓ CI.checkpatch: " Patchwork
2024-09-20 21:22 ` ✓ CI.KUnit: " Patchwork
2024-09-20 21:34 ` ✓ CI.Build: " Patchwork
2024-09-20 21:39 ` ✓ CI.Hooks: " Patchwork
2024-09-20 21:41 ` ✓ CI.checksparse: " Patchwork
2024-09-20 21:59 ` ✓ CI.BAT: " Patchwork
2024-09-21 1:48 ` ✗ CI.FULL: failure " Patchwork
2024-09-23 17:50 ` Matt Roper
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=20240920211459.255181-2-gustavo.sousa@intel.com \
--to=gustavo.sousa@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@intel.com \
--cc=sai.teja.pottumuttu@intel.com \
--cc=tejas.upadhyay@intel.com \
/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