Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Jouni Högander" <jouni.hogander@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [Intel-gfx] [PATCH v2 1/2] drm/i915/psr: Implement Wa_14014971492
Date: Tue, 24 Jan 2023 12:26:35 +0200	[thread overview]
Message-ID: <20230124102636.2567292-2-jouni.hogander@intel.com> (raw)
In-Reply-To: <20230124102636.2567292-1-jouni.hogander@intel.com>

Implement Wa_14014971492 and apply it for affected platforms.

Bspec: 52890, 54369, 55378, 66624

v2: Adjust platforms where applied

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
 drivers/gpu/drm/i915/display/intel_psr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 7d4a15a283a0..7a72e15e6836 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -1842,6 +1842,12 @@ int intel_psr2_sel_fetch_update(struct intel_atomic_state *state,
 	if (full_update)
 		goto skip_sel_fetch_set_loop;
 
+	/* Wa_14014971492 */
+	if ((IS_MTL_DISPLAY_STEP(dev_priv, STEP_A0, STEP_B0) ||
+	     IS_ALDERLAKE_P(dev_priv) || IS_TIGERLAKE(dev_priv)) &&
+	    crtc_state->splitter.enable)
+		pipe_clip.y1 = 0;
+
 	ret = drm_atomic_add_affected_planes(&state->base, &crtc->base);
 	if (ret)
 		return ret;
-- 
2.34.1


  reply	other threads:[~2023-01-24 10:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24 10:26 [Intel-gfx] [PATCH v2 0/2] drm/i915/psr: PSR related workarounds Jouni Högander
2023-01-24 10:26 ` Jouni Högander [this message]
2023-01-24 18:48   ` [Intel-gfx] [PATCH v2 1/2] drm/i915/psr: Implement Wa_14014971492 Rodrigo Vivi
2023-01-24 10:26 ` [Intel-gfx] [PATCH v2 2/2] drm/i915/mtl: Apply Wa_14013475917 for all MTL steppings Jouni Högander
2023-01-24 18:50   ` Rodrigo Vivi
2023-01-24 13:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/psr: PSR related workarounds (rev2) Patchwork
2023-01-24 13:32 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2023-01-25  0:04 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/psr: PSR related workarounds (rev3) Patchwork
2023-01-25  0:24 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-01-25  5:21 ` [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=20230124102636.2567292-2-jouni.hogander@intel.com \
    --to=jouni.hogander@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=rodrigo.vivi@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