From: "Shankar, Uma" <uma.shankar@intel.com>
To: "Souza, Jose" <jose.souza@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/display/tgl: Disable FBC with PSR2
Date: Thu, 5 Nov 2020 18:40:52 +0000 [thread overview]
Message-ID: <2d731ca39bfa4ddeaf20a04e92250bef@intel.com> (raw)
In-Reply-To: <3d3e70f2fbeb653b96f3e2755a3eaf8d70cf0c3c.camel@intel.com>
> -----Original Message-----
> From: Souza, Jose <jose.souza@intel.com>
> Sent: Thursday, November 5, 2020 11:09 PM
> To: Shankar, Uma <uma.shankar@intel.com>; intel-gfx@lists.freedesktop.org
> Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/display/tgl: Disable FBC with PSR2
>
> On Thu, 2020-11-05 at 21:57 +0530, Shankar, Uma wrote:
> >
> > > -----Original Message-----
> > > From: Souza, Jose <jose.souza@intel.com>
> > > Sent: Thursday, November 5, 2020 9:38 PM
> > > To: Shankar, Uma <uma.shankar@intel.com>;
> > > intel-gfx@lists.freedesktop.org
> > > Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/display/tgl: Disable
> > > FBC with PSR2
> > >
> > > On Thu, 2020-11-05 at 01:26 +0530, Uma Shankar wrote:
> > > > There are some corner cases wrt underrun when we enable FBC with
> > > > PSR2 on TGL. Recommendation from hardware is to keep this
> > > > combination disabled.
> > >
> > > Do you have any references to this? HSD? BSpec?
> >
> > Hi Jose,
> > Below is the HSD for the same:
> > https://hsdes.intel.com/appstore/article/#/14010260002
> >
> > Will add the link in patch as well.
>
> I have commented in that HSD in the past, it looked to me that we were not
> affected by that as that HSD refers to GEN11+. Also that HSD looks odd there is
> no real report of issue there.
>
> Are you sure that the FBC underruns are because of PSR2? Not all TGL systems in
> CI have a PSR2 panel, please make sure we are not disabling FBC in vain.
Yeah we had similar concern and raised it up with hardware design team. They are taking it
forward to get this officially documented in spec. Forwarded you an offline internal mail regarding this.
> >
> > Regards,
> > Uma Shankar
> > >
> > > >
> > > > Signed-off-by: Uma Shankar <uma.shankar@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 a5b072816a7b..32c411414908 100644
> > > > --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> > > > +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> > > > @@ -799,6 +799,12 @@ static bool intel_fbc_can_activate(struct
> > > > intel_crtc
> > > *crtc)
> > > > struct intel_fbc *fbc = &dev_priv->fbc;
> > > > struct intel_fbc_state_cache *cache = &fbc->state_cache;
> > > >
> > > >
> > > >
> > > >
> > > > + if (dev_priv->psr.sink_psr2_support &&
> > > > + IS_TIGERLAKE(dev_priv)) {
> > > > + fbc->no_fbc_reason = "not supported with PSR2";
> > > > + return false;
> > > > + }
> > > > +
> > > > if (!intel_fbc_can_enable(dev_priv))
> > > > return false;
> > > >
> > > >
> > > >
> > > >
> >
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-11-05 18:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-04 19:56 [Intel-gfx] [PATCH 0/2] Re-enable FBC on TGL Uma Shankar
2020-11-04 19:56 ` [Intel-gfx] [PATCH 1/2] drm/i915/display/tgl: Disable FBC with PSR2 Uma Shankar
2020-11-05 6:42 ` Anshuman Gupta
2020-11-05 7:19 ` Shankar, Uma
2020-11-05 16:07 ` Souza, Jose
2020-11-05 16:27 ` Shankar, Uma
2020-11-05 17:38 ` Souza, Jose
2020-11-05 18:40 ` Shankar, Uma [this message]
2020-11-04 19:56 ` [Intel-gfx] [PATCH 2/2] Revert "drm/i915/display/fbc: Disable fbc by default on TGL" Uma Shankar
2020-11-04 21:01 ` [Intel-gfx] ✓ Fi.CI.BAT: success for Re-enable FBC on TGL Patchwork
2020-11-05 1:05 ` [Intel-gfx] ✗ Fi.CI.IGT: 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=2d731ca39bfa4ddeaf20a04e92250bef@intel.com \
--to=uma.shankar@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jose.souza@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