From: Matt Roper <matthew.d.roper@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 2/2] drm/i915: Add Wa_14016291713
Date: Fri, 8 Jul 2022 14:58:04 -0700 [thread overview]
Message-ID: <20220708215804.2889246-2-matthew.d.roper@intel.com> (raw)
In-Reply-To: <20220708215804.2889246-1-matthew.d.roper@intel.com>
We already disable FBC when PSR2 is enabled on display version 12 and
above; this new workaround now requires that we do the same with PSR1 on
display versions 12 and 13.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/i915/display/intel_fbc.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c b/drivers/gpu/drm/i915/display/intel_fbc.c
index 16537830ccf0..7436b35f7ea0 100644
--- a/drivers/gpu/drm/i915/display/intel_fbc.c
+++ b/drivers/gpu/drm/i915/display/intel_fbc.c
@@ -1098,6 +1098,12 @@ static int intel_fbc_check_plane(struct intel_atomic_state *state,
return 0;
}
+ /* Wa_14016291713 */
+ if (IS_DISPLAY_VER(i915, 12, 13) && crtc_state->has_psr) {
+ plane_state->no_fbc_reason = "PSR1 enabled (Wa_14016291713)";
+ return 0;
+ }
+
if (!pixel_format_is_valid(plane_state)) {
plane_state->no_fbc_reason = "pixel format not supported";
return 0;
--
2.36.1
next prev parent reply other threads:[~2022-07-08 21:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 21:58 [Intel-gfx] [PATCH 1/2] drm/i915/dg2: Add Wa_15010599737 Matt Roper
2022-07-08 21:58 ` Matt Roper [this message]
2022-07-12 12:43 ` [Intel-gfx] [PATCH 2/2] drm/i915: Add Wa_14016291713 Murthy, Arun R
2022-07-08 22:37 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/2] drm/i915/dg2: Add Wa_15010599737 Patchwork
2022-07-08 22:54 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-07-09 7:41 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-07-12 15:55 ` Matt Roper
2022-07-13 5:32 ` Vudum, Lakshminarayana
2022-07-12 12:48 ` [Intel-gfx] [PATCH 1/2] " Murthy, Arun R
2022-07-12 23:39 ` [Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] " 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=20220708215804.2889246-2-matthew.d.roper@intel.com \
--to=matthew.d.roper@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