From: Dnyaneshwar Bhadane <dnyaneshwar.bhadane@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Matt Roper <matthew.d.roper@intel.com>
Subject: [PATCH V1 1/3] drm/xe/xelpg: Recognize graphics version 12.74 as Xe_LPG
Date: Thu, 29 Feb 2024 11:43:29 +0530 [thread overview]
Message-ID: <20240229061331.3398966-2-dnyaneshwar.bhadane@intel.com> (raw)
In-Reply-To: <20240229061331.3398966-1-dnyaneshwar.bhadane@intel.com>
From: Matt Roper <matthew.d.roper@intel.com>
Graphics version 12.74 (which is technically called "Xe_LPG+") should be
handled the same as versions Xe_LPG 12.70/12.71 by the KMD. Only the
workaround lists (handled in the next patch) will be a bit different.
Bspec: 55420
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_pci.c | 1 +
drivers/gpu/drm/xe/xe_tuning.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_pci.c b/drivers/gpu/drm/xe/xe_pci.c
index 5b5c29761c5d..986c07d8b168 100644
--- a/drivers/gpu/drm/xe/xe_pci.c
+++ b/drivers/gpu/drm/xe/xe_pci.c
@@ -343,6 +343,7 @@ __diag_pop();
static const struct gmdid_map graphics_ip_map[] = {
{ 1270, &graphics_xelpg },
{ 1271, &graphics_xelpg },
+ { 1274, &graphics_xelpg }, /* Xe_LPG+ */
{ 2004, &graphics_xe2 },
};
diff --git a/drivers/gpu/drm/xe/xe_tuning.c b/drivers/gpu/drm/xe/xe_tuning.c
index 5c83c75bc497..bb6db2817ada 100644
--- a/drivers/gpu/drm/xe/xe_tuning.c
+++ b/drivers/gpu/drm/xe/xe_tuning.c
@@ -50,7 +50,7 @@ static const struct xe_rtp_entry_sr gt_tunings[] = {
static const struct xe_rtp_entry_sr engine_tunings[] = {
{ XE_RTP_NAME("Tuning: Set Indirect State Override"),
- XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, 1271),
+ XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1200, 1274),
ENGINE_CLASS(RENDER)),
XE_RTP_ACTIONS(SET(SAMPLER_MODE, INDIRECT_STATE_BASE_ADDR_OVERRIDE))
},
@@ -88,7 +88,7 @@ static const struct xe_rtp_entry_sr lrc_tunings[] = {
/* Xe_LPG */
{ XE_RTP_NAME("Tuning: L3 cache"),
- XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1270, 1271), ENGINE_CLASS(RENDER)),
+ XE_RTP_RULES(GRAPHICS_VERSION_RANGE(1270, 1274), ENGINE_CLASS(RENDER)),
XE_RTP_ACTIONS(FIELD_SET(XEHP_L3SQCREG5, L3_PWM_TIMER_INIT_VAL_MASK,
REG_FIELD_PREP(L3_PWM_TIMER_INIT_VAL_MASK, 0x7f)))
},
--
2.34.1
next prev parent reply other threads:[~2024-02-29 6:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-29 6:13 [PATCH V1 0/3] drm/xe/arl: Add Arrow Lake H support Dnyaneshwar Bhadane
2024-02-29 6:13 ` Dnyaneshwar Bhadane [this message]
2024-03-05 17:30 ` [PATCH V1 1/3] drm/xe/xelpg: Recognize graphics version 12.74 as Xe_LPG Matt Atwood
2024-02-29 6:13 ` [PATCH V1 2/3] drm/xe/xelpg: Extend some workarounds to graphics version 12.74 Dnyaneshwar Bhadane
2024-03-05 17:00 ` Matt Atwood
2024-02-29 6:13 ` [PATCH V2 3/3] drm/xe/arl: Add Arrow Lake H support Dnyaneshwar Bhadane
2024-03-05 16:57 ` Matt Atwood
2024-02-29 6:18 ` ✓ CI.Patch_applied: success for drm/xe/arl: Add Arrow Lake H support (rev2) Patchwork
2024-02-29 6:18 ` ✗ CI.checkpatch: warning " Patchwork
2024-02-29 6:19 ` ✓ CI.KUnit: success " Patchwork
2024-02-29 6:31 ` ✓ CI.Build: " Patchwork
2024-02-29 6:32 ` ✓ CI.Hooks: " Patchwork
2024-02-29 6:33 ` ✓ CI.checksparse: " Patchwork
2024-02-29 6:56 ` ✓ CI.BAT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-02-29 7:08 [PATCH V1 0/3] drm/xe/arl: Add Arrow Lake H support Dnyaneshwar Bhadane
2024-02-29 7:08 ` [PATCH V1 1/3] drm/xe/xelpg: Recognize graphics version 12.74 as Xe_LPG Dnyaneshwar Bhadane
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=20240229061331.3398966-2-dnyaneshwar.bhadane@intel.com \
--to=dnyaneshwar.bhadane@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.d.roper@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