From: Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: thomas.hellstrom@linux.intel.com, stuart.summers@intel.com,
Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
Subject: [PATCH v2 1/1] drm/xe: Set GT rp min frequency as 1.2GHz default for BMG/CRI
Date: Thu, 5 Mar 2026 22:25:21 +0530 [thread overview]
Message-ID: <20260305165519.4170892-4-naresh.kumar.g@intel.com> (raw)
In-Reply-To: <20260305165519.4170892-3-naresh.kumar.g@intel.com>
While previously applied only to the BMG G21(Battle image) platform
via workaround Wa_14022085890, this 1.2 GHz minimum is now the default
for BMG and CRI platforms.
Setting this frequency floor(1.2GHz) default is critical in multi GPU
environment for supporting effective Peer-to-Peer(P2P) transactions.
v2:
- Fix Indentation(Thomas)
- Add comment about power impact(Stuart)
Signed-off-by: Nareshkumar Gollakoti <naresh.kumar.g@intel.com>
---
drivers/gpu/drm/xe/xe_guc_pc.c | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_guc_pc.c b/drivers/gpu/drm/xe/xe_guc_pc.c
index 21fe73ab4583..5b3d6604c4c9 100644
--- a/drivers/gpu/drm/xe/xe_guc_pc.c
+++ b/drivers/gpu/drm/xe/xe_guc_pc.c
@@ -886,6 +886,7 @@ static int pc_adjust_freq_bounds(struct xe_guc_pc *pc)
{
struct xe_tile *tile = gt_to_tile(pc_to_gt(pc));
int ret;
+ struct xe_device *xe = pc_to_xe(pc);
lockdep_assert_held(&pc->freq_lock);
@@ -911,7 +912,17 @@ static int pc_adjust_freq_bounds(struct xe_guc_pc *pc)
if (pc_get_min_freq(pc) > pc->rp0_freq)
ret = pc_set_min_freq(pc, pc->rp0_freq);
- if (XE_DEVICE_WA(tile_to_xe(tile), 14022085890))
+ /*
+ * Setting GT RP min frequency to 1.2GHz by default for
+ * all BMG and CRI(For BMG G21 WA do the same).
+ *
+ * This is an active frequency, so if the device is idle
+ * we aren't expecting high power output across board
+ *
+ */
+ if (XE_DEVICE_WA(tile_to_xe(tile), 14022085890) ||
+ (xe->info.platform == XE_BATTLEMAGE ||
+ xe->info.platform == XE_CRESCENTISLAND))
ret = pc_set_min_freq(pc, max(BMG_MIN_FREQ, pc_get_min_freq(pc)));
out:
--
2.43.0
next prev parent reply other threads:[~2026-03-05 17:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 16:55 [PATCH v2 0/1] drm/xe: Set GT rp min frequency as 1.2GHz default for BMG/CRI Nareshkumar Gollakoti
2026-03-05 16:55 ` Nareshkumar Gollakoti [this message]
2026-03-06 14:38 ` ✓ CI.KUnit: success for drm/xe: Set GT rp min frequency as 1.2GHz default for BMG/CRI (rev2) Patchwork
2026-03-06 15:31 ` ✓ Xe.CI.BAT: " Patchwork
2026-03-07 16:45 ` ✓ Xe.CI.FULL: " 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=20260305165519.4170892-4-naresh.kumar.g@intel.com \
--to=naresh.kumar.g@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=stuart.summers@intel.com \
--cc=thomas.hellstrom@linux.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