From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Govindapillai, Vinod" <vinod.govindapillai@intel.com>
Cc: "Shankar, Uma" <uma.shankar@intel.com>,
"Saarinen, Jani" <jani.saarinen@intel.com>,
"Syrjala, Ville" <ville.syrjala@intel.com>,
"B, Jeevan" <jeevan.b@intel.com>
Subject: Re: [PATCH v2 2/2] drm/i915/fbc: update the panel_replay dependency in fbc wa's
Date: Fri, 21 Mar 2025 13:15:12 +0000 [thread overview]
Message-ID: <8a0b731f6924eba66deced4ec5f9c5486a4756de.camel@intel.com> (raw)
In-Reply-To: <20250321094529.197397-3-vinod.govindapillai@intel.com>
On Fri, 2025-03-21 at 11:45 +0200, Vinod Govindapillai wrote:
> There are two panel_replay scenarios fbc wa need to be aware of,
> panel replay with and without selective update capability.
> Panel replay without selective update don't have any fbc wa.
> So keep the fbc psr1 wa as it is.
>
> The current fbc psr2 wa is mainly about selective fetch and we
> need to apply the fbc wa if selective fetch is on - irrespective
> of panel replay. Hence we can't exclude panel replay from the
> fbc psr2 wa.
>
> v1: keep panel_replay exclusion in PSR1 case (Jouni)
> Patch description updated
>
> Bspec: 66624, 50442
> Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_fbc.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> b/drivers/gpu/drm/i915/display/intel_fbc.c
> index 92b00da4c0ab..3c72047bf1a2 100644
> --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> @@ -1471,9 +1471,8 @@ static int intel_fbc_check_plane(struct
> intel_atomic_state *state,
> * disabling PSR2, keep FBC disabled in case of selective
> update is on
> * until the selection logic is implemented.
> */
> - if (DISPLAY_VER(display) >= 12 && crtc_state->has_sel_update
> &&
> - !crtc_state->has_panel_replay) {
> - plane_state->no_fbc_reason = "PSR2 enabled";
> + if (DISPLAY_VER(display) >= 12 && crtc_state-
> >has_sel_update) {
> + plane_state->no_fbc_reason = "Selective update
> enabled";
> return 0;
> }
>
next prev parent reply other threads:[~2025-03-21 13:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-21 9:45 [PATCH v2 0/2] drm/i915/fbc: disable FBC if PSR2 selective fetch is enabled Vinod Govindapillai
2025-03-21 9:45 ` [PATCH v2 1/2] drm/i915/fbc: keep FBC disabled if selective update is on in xe2lpd Vinod Govindapillai
2025-03-21 13:14 ` Hogander, Jouni
2025-03-25 3:40 ` B, Jeevan
2025-03-21 9:45 ` [PATCH v2 2/2] drm/i915/fbc: update the panel_replay dependency in fbc wa's Vinod Govindapillai
2025-03-21 13:15 ` Hogander, Jouni [this message]
2025-03-21 9:50 ` ✓ CI.Patch_applied: success for drm/i915/fbc: disable FBC if PSR2 selective fetch is enabled (rev3) Patchwork
2025-03-21 9:50 ` ✓ CI.checkpatch: " Patchwork
2025-03-21 9:51 ` ✓ CI.KUnit: " Patchwork
2025-03-21 10:16 ` ✓ CI.Build: " Patchwork
2025-03-21 10:20 ` ✓ CI.Hooks: " Patchwork
2025-03-21 10:22 ` ✓ CI.checksparse: " Patchwork
2025-03-21 10:43 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-21 11:59 ` ✗ Xe.CI.Full: 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=8a0b731f6924eba66deced4ec5f9c5486a4756de.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.saarinen@intel.com \
--cc=jeevan.b@intel.com \
--cc=uma.shankar@intel.com \
--cc=ville.syrjala@intel.com \
--cc=vinod.govindapillai@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