[Mesa-dev] [PATCH] Fix surf->bankh init by default value when surf->tile_split == 0

Maks Naumov maksqwe1 at ukr.net
Mon Aug 18 13:58:52 PDT 2014


I don't have access to git.

> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
> 
> Do you have commit access?
> 
> Marek
> 
> On Mon, Aug 18, 2014 at 9:59 PM, Maks Naumov <maksqwe1 at ukr.net> wrote:
> > Signed-off-by: Maks Naumov <maksqwe1 at ukr.net>
> > ---
> > radeon/radeon_surface.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
> > index e056ed4..40a544a 100644
> > --- a/radeon/radeon_surface.c
> > +++ b/radeon/radeon_surface.c
> > @@ -1311,7 +1311,7 @@ static int si_surface_sanity(struct radeon_surface_manager *surf_man,
> > /* default value */
> > surf->mtilea = 1;
> > surf->bankw = 1;
> > - surf->bankw = 1;
> > + surf->bankh = 1;
> > surf->tile_split = 64;
> > surf->stencil_tile_split = 64;
> > }
> > @@ -2138,7 +2138,7 @@ static int cik_surface_sanity(struct radeon_surface_manager *surf_man,
> > /* default value */
> > surf->mtilea = 1;
> > surf->bankw = 1;
> > - surf->bankw = 1;
> > + surf->bankh = 1;
> > surf->tile_split = 64;
> > surf->stencil_tile_split = 64;
> > }
> > --
> > 1.9.1
> >
> >
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list