All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suraj Kandpal <suraj.kandpal@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 1/2] drm/i915/lnl: Add pkgc related register
Date: Thu,  1 Feb 2024 14:21:58 +0530	[thread overview]
Message-ID: <20240201085158.1000285-2-suraj.kandpal@intel.com> (raw)
In-Reply-To: <20240201085158.1000285-1-suraj.kandpal@intel.com>

Add the register that needs to read and written onto for
deep pkgc programming.

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
 drivers/gpu/drm/i915/display/skl_watermark_regs.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/skl_watermark_regs.h b/drivers/gpu/drm/i915/display/skl_watermark_regs.h
index 628c5920ad49..20b30c9a6613 100644
--- a/drivers/gpu/drm/i915/display/skl_watermark_regs.h
+++ b/drivers/gpu/drm/i915/display/skl_watermark_regs.h
@@ -157,4 +157,8 @@
 #define MTL_LATENCY_SAGV		_MMIO(0x4578c)
 #define   MTL_LATENCY_QCLK_SAGV		REG_GENMASK(12, 0)
 
+#define LNL_PKG_C_LATENCY		_MMIO(0x46460)
+#define   LNL_ADDED_WAKE_TIME_MASK	REG_GENMASK(28, 16)
+#define   LNL_PKG_C_LATENCY_MASK	REG_GENMASK(12, 0)
+
 #endif /* __SKL_WATERMARK_REGS_H__ */
-- 
2.25.1


  reply	other threads:[~2024-02-01  8:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01  8:51 [PATCH 0/2] Program Deep PKG_C_LATENCY register Suraj Kandpal
2024-02-01  8:51 ` Suraj Kandpal [this message]
2024-02-02  7:37   ` [PATCH 1/2] drm/i915/lnl: Add pkgc related register Borah, Chaitanya Kumar
2024-02-07 10:46   ` Govindapillai, Vinod
2024-02-01  8:51 ` [PATCH 2/2] drm/i915/lnl: Program PKGC_LATENCY register Suraj Kandpal
2024-02-05  7:55   ` Borah, Chaitanya Kumar
2024-02-05  8:01   ` Suraj Kandpal
2024-02-05 10:19     ` Jani Nikula
2024-02-05 17:22       ` Kandpal, Suraj
2024-02-08  8:59         ` Jani Nikula
2024-02-07 11:21     ` Govindapillai, Vinod
2024-02-13  6:28     ` Suraj Kandpal
2024-02-14 10:43       ` Govindapillai, Vinod
2024-02-19  6:36       ` Suraj Kandpal
2024-02-19  9:23         ` Govindapillai, Vinod
2024-02-01 16:36 ` ✗ Fi.CI.SPARSE: warning for Program Deep PKG_C_LATENCY register Patchwork
2024-02-01 19:55 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-01 21:56 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-02-05  9:47 ` ✗ Fi.CI.SPARSE: warning for Program Deep PKG_C_LATENCY register (rev2) Patchwork
2024-02-05 10:01 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-05 12:37 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-02-13  7:34 ` ✗ Fi.CI.SPARSE: warning for Program Deep PKG_C_LATENCY register (rev3) Patchwork
2024-02-13  7:48 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-13  9:25 ` ✓ Fi.CI.IGT: " Patchwork
2024-02-19  7:21 ` ✗ Fi.CI.SPARSE: warning for Program Deep PKG_C_LATENCY register (rev4) Patchwork
2024-02-19  7:34 ` ✓ Fi.CI.BAT: success " Patchwork
2024-02-19  9:19 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-02-20 11:22 ` ✓ Fi.CI.IGT: success " 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=20240201085158.1000285-2-suraj.kandpal@intel.com \
    --to=suraj.kandpal@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.