[Mesa-dev] [PATCH] intel/blorp_blit: Fix max blit size for gen6

Jordan Justen jordan.l.justen at intel.com
Sun Dec 25 15:18:53 UTC 2016


On 2016-12-24 19:07:44, Jason Ekstrand wrote:
> Guys... Stop reviewing patches on Christmas Eve...

Jesus is the reason for the patches! Merry Sunday! ;)

> On Dec 24, 2016 7:34 PM, "Kenneth Graunke" <kenneth at whitecape.org> wrote:
> 
> > On Saturday, December 24, 2016 9:49:14 AM PST Jordan Justen wrote:
> > > Fixes ES3-CTS.gtf.GL3Tests.framebuffer_blit.framebuffer_
> > blit_functionality_stencil_blit
> > >
> > > Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
> > > ---
> > >  src/intel/blorp/blorp_blit.c | 5 +++--
> > >  1 file changed, 3 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
> > > index 8abe3a8..1cbd940 100644
> > > --- a/src/intel/blorp/blorp_blit.c
> > > +++ b/src/intel/blorp/blorp_blit.c
> > > @@ -1522,10 +1522,11 @@ static unsigned
> > >  get_max_surface_size(const struct gen_device_info *devinfo,
> > >                       const struct blorp_params *params)
> > >  {
> > > +   const unsigned max = devinfo->gen >= 7 ? 16384 : 8192;
> > >     if (split_blorp_blit_debug && can_shrink_surfaces(params))
> > > -      return 16384 >> 4; /* A smaller restriction when debug is enabled
> > */
> > > +      return max >> 4; /* A smaller restriction when debug is enabled */
> > >     else
> > > -      return 16384;
> > > +      return max;
> > >  }
> > >
> > >  struct blt_axis {
> > >
> >
> > Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> >
> >
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list