Re: [PATCH] drm/i915/display/fbc: Disable fbc by default on TGL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> Sent: Thursday, July 16, 2020 6:19 PM
> To: Shankar, Uma <uma.shankar@xxxxxxxxx>
> Cc: intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  [PATCH] drm/i915/display/fbc: Disable fbc by default on
> TGL
> 
> On Thu, Jul 16, 2020 at 03:38:03PM +0300, Ville Syrjälä wrote:
> > On Thu, Jul 16, 2020 at 02:25:40PM +0530, Uma Shankar wrote:
> > > Fbc is causing random underruns in CI execution on TGL platforms.
> > > Disabling the same while the problem is being debugged and analyzed.
> > >
> > > Cc: Stanislav Lisovskiy <stanislav.lisovskiy@xxxxxxxxx>
> > > Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> > > Signed-off-by: Uma Shankar <uma.shankar@xxxxxxxxx>
> >
> > Acked-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> Scratch that...
> 
> >
> > > ---
> > >  drivers/gpu/drm/i915/display/intel_fbc.c | 7 +++++++
> > >  1 file changed, 7 insertions(+)
> > >
> > > diff --git a/drivers/gpu/drm/i915/display/intel_fbc.c
> > > b/drivers/gpu/drm/i915/display/intel_fbc.c
> > > index 3a4f980788a6..1d6370b29b27 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_fbc.c
> > > +++ b/drivers/gpu/drm/i915/display/intel_fbc.c
> > > @@ -1420,6 +1420,13 @@ void intel_fbc_handle_fifo_underrun_irq(struct
> drm_i915_private *dev_priv)
> > >   */
> > >  static int intel_sanitize_fbc_option(struct drm_i915_private
> > > *dev_priv)  {
> > > +	/*
> > > +	 * Fbc is causing random underruns in CI execution on TGL platforms.
> > > +	 * Disabling the same while the problem is being debugged and analyzed.
> > > +	 */
> > > +	if (IS_TIGERLAKE(dev_priv))
> > > +		return 0;
> 
> ... looks lke this should be done *after* the modparam check below.
> Otherwise we can't enable fbc for testing via the modparam.

Oh yeah, updated the change and sent a v2 with fix. Thanks Ville.

Regards,
Uma Shankar

> > > +
> > >  	if (dev_priv->params.enable_fbc >= 0)
> > >  		return !!dev_priv->params.enable_fbc;
> > >
> > > --
> > > 2.22.0
> >
> > --
> > Ville Syrjälä
> > Intel
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
> 
> --
> Ville Syrjälä
> Intel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux