From: Gustavo Sousa <gustavo.sousa@intel.com>
To: Animesh Manna <animesh.manna@intel.com>,
<intel-gfx@lists.freedesktop.org>,
<intel-xe@lists.freedesktop.org>
Cc: Animesh Manna <animesh.manna@intel.com>,
Suraj Kandpal <suraj.kandpal@intel.com>
Subject: Re: [PATCH v2] drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY
Date: Mon, 9 Dec 2024 10:25:01 -0300 [thread overview]
Message-ID: <173375070100.1961.9282805722236534508@intel.com> (raw)
In-Reply-To: <20241209074702.3975702-1-animesh.manna@intel.com>
Quoting Animesh Manna (2024-12-09 04:47:02-03:00)
>The PKG_C_LATENCY Added Wake Time field is not working.
>When added wake time is needed, such as for flip queue
>DSB execution, increase the PKG_C_LATENCY Pkg C Latency
>field by the added wake time.
>
>WA: 22020432604
>
>v1: Initial version.
>v2: Rebase and cosmetic changes.
>
>Cc: Suraj Kandpal <suraj.kandpal@intel.com>
>Signed-off-by: Animesh Manna <animesh.manna@intel.com>
>---
> drivers/gpu/drm/i915/display/skl_watermark.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
>diff --git a/drivers/gpu/drm/i915/display/skl_watermark.c b/drivers/gpu/drm/i915/display/skl_watermark.c
>index d93f6786db0e..f6f7205e06eb 100644
>--- a/drivers/gpu/drm/i915/display/skl_watermark.c
>+++ b/drivers/gpu/drm/i915/display/skl_watermark.c
>@@ -2894,6 +2894,12 @@ intel_program_dpkgc_latency(struct intel_atomic_state *state)
> display->sagv.block_time_us;
> }
>
>+ /* Wa_22020432604 */
>+ if (DISPLAY_VER(i915) == 30) {
This WA also applies to Xe2_LPD (i.e. display version 20).
--
Gustavo Sousa
>+ latency += added_wake_time;
>+ added_wake_time = 0;
>+ }
>+
> clear = LNL_ADDED_WAKE_TIME_MASK | LNL_PKG_C_LATENCY_MASK;
> val = REG_FIELD_PREP(LNL_PKG_C_LATENCY_MASK, latency) |
> REG_FIELD_PREP(LNL_ADDED_WAKE_TIME_MASK, added_wake_time);
>--
>2.29.0
>
next prev parent reply other threads:[~2024-12-09 13:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-09 7:47 [PATCH v2] drm/i915/display: Adjust Added Wake Time with PKG_C_LATENCY Animesh Manna
2024-12-09 13:25 ` Gustavo Sousa [this message]
2024-12-09 13:49 ` Kandpal, Suraj
2024-12-18 10:34 ` Manna, Animesh
2024-12-19 2:23 ` Kandpal, Suraj
2024-12-09 14:17 ` ✓ CI.Patch_applied: success for " Patchwork
2024-12-09 14:17 ` ✓ CI.checkpatch: " Patchwork
2024-12-09 14:17 ` ✗ CI.KUnit: failure " 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=173375070100.1961.9282805722236534508@intel.com \
--to=gustavo.sousa@intel.com \
--cc=animesh.manna@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=suraj.kandpal@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