From: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 4/4] drm/i915/mtl: Skip pcode qgv restrictions for MTL
Date: Fri, 17 Mar 2023 17:58:52 -0700 [thread overview]
Message-ID: <20230318005852.2303937-5-radhakrishna.sripada@intel.com> (raw)
In-Reply-To: <20230318005852.2303937-1-radhakrishna.sripada@intel.com>
Communicating QGV points restriction to PUnit happens via PM Demand
instead of the Pcode mailbox in the previous platforms. GV point
restriction is handled by the PM demand code.
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
---
drivers/gpu/drm/i915/display/intel_bw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_bw.c b/drivers/gpu/drm/i915/display/intel_bw.c
index 87c20bf52123..c292e63bdcbb 100644
--- a/drivers/gpu/drm/i915/display/intel_bw.c
+++ b/drivers/gpu/drm/i915/display/intel_bw.c
@@ -150,6 +150,9 @@ int icl_pcode_restrict_qgv_points(struct drm_i915_private *dev_priv,
{
int ret;
+ if (DISPLAY_VER(dev_priv) >= 14)
+ return 0;
+
/* bspec says to keep retrying for at least 1 ms */
ret = skl_pcode_request(&dev_priv->uncore, ICL_PCODE_SAGV_DE_MEM_SS_CONFIG,
points_mask,
--
2.34.1
next prev parent reply other threads:[~2023-03-18 0:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-18 0:58 [Intel-gfx] [PATCH 0/4] Add MTL DP and HDMI Sequences Radhakrishna Sripada
2023-03-18 0:58 ` [Intel-gfx] [PATCH 1/4] drm/i915/mtl: Squashed Phy Support Radhakrishna Sripada
2023-03-18 5:46 ` kernel test robot
2023-03-21 12:33 ` kernel test robot
2023-03-18 0:58 ` [Intel-gfx] [PATCH 2/4] drm/i915/mtl/display: Implement DisplayPort sequences Radhakrishna Sripada
2023-03-18 0:58 ` [Intel-gfx] [PATCH 3/4] drm/i915/display/mtl: Fill port width in DDI_BUF_/TRANS_DDI_FUNC_/PORT_BUF_CTL for HDMI Radhakrishna Sripada
2023-03-18 0:58 ` Radhakrishna Sripada [this message]
2023-04-20 15:26 ` [Intel-gfx] [PATCH 4/4] drm/i915/mtl: Skip pcode qgv restrictions for MTL Govindapillai, Vinod
2023-03-18 4:46 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add MTL DP and HDMI Sequences Patchwork
2023-03-18 4:46 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-03-18 4:46 ` [Intel-gfx] ✗ Fi.CI.DOCS: " Patchwork
2023-03-18 5:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-03-18 6:33 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=20230318005852.2303937-5-radhakrishna.sripada@intel.com \
--to=radhakrishna.sripada@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;
as well as URLs for NNTP newsgroup(s).