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

Marek Olšák maraeo at gmail.com
Mon Aug 25 04:08:51 PDT 2014


Pushed, thanks.

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