radeon: Fix surf->bankh init by default value when surf->tile_split == 0
Signed-off-by: Maks Naumov <maksqwe1@ukr.net> Signed-off-by: Marek Olšák <marek.olsak@amd.com>main
parent
22b995d8cb
commit
391bba9c4c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue