From: "Govindapillai, Vinod" <vinod.govindapillai@intel.com>
To: "intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"Sousa, Gustavo" <gustavo.sousa@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Cc: "Shankar, Uma" <uma.shankar@intel.com>,
"Joshi, Kunal1" <kunal1.joshi@intel.com>,
"Nikula, Jani" <jani.nikula@intel.com>,
"Roper, Matthew D" <matthew.d.roper@intel.com>,
"De Marchi, Lucas" <lucas.demarchi@intel.com>
Subject: Re: [PATCH v2] drm/i915/fbc: Apply wa_15018326506
Date: Tue, 18 Nov 2025 09:32:17 +0000 [thread overview]
Message-ID: <79a1474b9b7576b3798c215ccf9938f7191732a0.camel@intel.com> (raw)
In-Reply-To: <176312519123.3698.9146184315752956049@intel.com>
On Fri, 2025-11-14 at 09:59 -0300, Gustavo Sousa wrote:
> Quoting Vinod Govindapillai (2025-11-11 09:46:06-03:00)
> > Disable FBC in bmg as per the wa recommendation.
> >
> > v2: use the bmg platform instead of a specific stepping
> >
> > Bspec: 74212
> > Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_display_wa.c | 2 ++
> > drivers/gpu/drm/i915/display/intel_display_wa.h | 1 +
> > drivers/gpu/drm/i915/display/intel_fbc.c | 10 ++++++++++
> > 3 files changed, 13 insertions(+)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_wa.c
> > b/drivers/gpu/drm/i915/display/intel_display_wa.c
> > index e38e5e87877c..b2e71fa61c0a 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_wa.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display_wa.c
> > @@ -70,6 +70,8 @@ bool __intel_display_wa(struct intel_display
> > *display, enum intel_display_wa wa,
> > return DISPLAY_VER(display) == 13;
> > case INTEL_DISPLAY_WA_22014263786:
> > return IS_DISPLAY_VERx100(display, 1100, 1400);
> > + case INTEL_DISPLAY_WA_15018326506:
> > + return display->platform.battlemage;
> > default:
> > drm_WARN(display->drm, 1, "Missing Wa number:
> > %s\n", name);
> > break;
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_wa.h
> > b/drivers/gpu/drm/i915/display/intel_display_wa.h
> > index 3644e8e2b724..f648b00cb97d 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_wa.h
> > +++ b/drivers/gpu/drm/i915/display/intel_display_wa.h
> > @@ -26,6 +26,7 @@ enum intel_display_wa {
> > INTEL_DISPLAY_WA_16025573575,
> > INTEL_DISPLAY_WA_14011503117,
> > INTEL_DISPLAY_WA_22014263786,
> > + INTEL_DISPLAY_WA_15018326506,
> > };
> >
> > bool __intel_display_wa(struct intel_display *display, enum
> > intel_display_wa wa, const char *name);
> > diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> > b/drivers/gpu/drm/i915/display/intel_fbc.c
> > index a1e3083022ee..16cd99db2978 100644
> > --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> > +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> > @@ -1521,6 +1521,16 @@ static int intel_fbc_check_plane(struct
> > intel_atomic_state *state,
> > return 0;
> > }
> >
> > + /*
> > + * wa_15018326506:
>
> Drive-by nitpick comment: The most common usage is Wa_* instead of
> wa_*.
>
> $ git grep -hio '\<wa_[0-9]\+' -- drivers/gpu/drm/xe
> drivers/gpu/drm/i915 | sed 's/\([Ww][aA]_\).*/\1/' | sort | uniq -c
> 22 wa_
> 317 Wa_
> 3 WA_
>
> This could be fixed while applying, since it is just a comment fix.
>
> Also, I would wait for the workaround to be formalized as permanent
> workaround before merging this.
>
> --
> Gustavo Sousa
Okay.. I can change the comment.
About the merge, got the go ahead to merge this.
Thanks
Vinod
>
> > + * Fixes: Underrun during media decode
> > + * Workaround: Do not enable FBC
> > + */
> > + if (intel_display_wa(display, 15018326506)) {
> > + plane_state->no_fbc_reason = "Wa_15018326506";
> > + return 0;
> > + }
> > +
> > /* WaFbcTurnOffFbcWhenHyperVisorIsUsed:skl,bxt */
> > if (intel_display_vtd_active(display) &&
> > (display->platform.skylake || display-
> > >platform.broxton)) {
> > --
> > 2.43.0
> >
prev parent reply other threads:[~2025-11-18 9:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-11 12:46 [PATCH v2] drm/i915/fbc: Apply wa_15018326506 Vinod Govindapillai
2025-11-11 13:31 ` ✓ CI.KUnit: success for drm/i915/fbc: Apply wa_15018326506 (rev2) Patchwork
2025-11-11 14:12 ` ✓ Xe.CI.BAT: " Patchwork
2025-11-11 21:30 ` ✗ Xe.CI.Full: failure " Patchwork
2025-11-14 11:11 ` [PATCH v2] drm/i915/fbc: Apply wa_15018326506 Kahola, Mika
2025-11-14 12:28 ` Shankar, Uma
2025-11-14 12:59 ` Gustavo Sousa
2025-11-18 9:32 ` Govindapillai, Vinod [this message]
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=79a1474b9b7576b3798c215ccf9938f7191732a0.camel@intel.com \
--to=vinod.govindapillai@intel.com \
--cc=gustavo.sousa@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=kunal1.joshi@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=matthew.d.roper@intel.com \
--cc=uma.shankar@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;
as well as URLs for NNTP newsgroup(s).