Lines Matching refs:num_banks
98 uint32_t num_banks; member
235 surf_man->hw_info.num_banks = 4; in r6_init_hw_info()
238 surf_man->hw_info.num_banks = 8; in r6_init_hw_info()
241 surf_man->hw_info.num_banks = 8; in r6_init_hw_info()
366 xalign = (surf_man->hw_info.group_bytes * surf_man->hw_info.num_banks) / in r6_surface_init_2d()
368 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); in r6_surface_init_2d()
378 surf_man->hw_info.num_banks * in r6_surface_init_2d()
520 surf_man->hw_info.num_banks = 4; in eg_init_hw_info()
523 surf_man->hw_info.num_banks = 8; in eg_init_hw_info()
526 surf_man->hw_info.num_banks = 16; in eg_init_hw_info()
529 surf_man->hw_info.num_banks = 8; in eg_init_hw_info()
671 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea; in eg_surface_init_2d()
751 if (surf_man->hw_info.num_banks < surf->mtilea) { in eg_surface_sanity()
916 surf->mtilea = surf_man->hw_info.num_banks; in eg_surface_best()
1011 h_over_w = (((surf->bankh * surf_man->hw_info.num_banks) << 16) / in eg_surface_best()
1067 unsigned *num_banks, in si_gb_tile_mode() argument
1096 if (num_banks) { in si_gb_tile_mode()
1100 *num_banks = 2; in si_gb_tile_mode()
1103 *num_banks = 4; in si_gb_tile_mode()
1106 *num_banks = 8; in si_gb_tile_mode()
1109 *num_banks = 16; in si_gb_tile_mode()
1234 surf_man->hw_info.num_banks = 4; in si_init_hw_info()
1237 surf_man->hw_info.num_banks = 8; in si_init_hw_info()
1240 surf_man->hw_info.num_banks = 16; in si_init_hw_info()
1243 surf_man->hw_info.num_banks = 8; in si_init_hw_info()
1613 unsigned num_pipes, unsigned num_banks, in si_surface_init_2d() argument
1637 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in si_surface_init_2d()
1697 unsigned num_pipes, num_banks; in si_surface_init_2d_miptrees() local
1703 si_gb_tile_mode(gb_tile_mode, &num_pipes, &num_banks, NULL, NULL, NULL, NULL); in si_surface_init_2d_miptrees()
1705 …r = si_surface_init_2d(surf_man, surf, surf->level, surf->bpe, tile_mode, num_pipes, num_banks, su… in si_surface_init_2d_miptrees()
1711 …d(surf_man, surf, surf->stencil_level, 1, stencil_tile_mode, num_pipes, num_banks, surf->stencil_t… in si_surface_init_2d_miptrees()
1854 uint32_t *num_banks, in cik_get_2d_params() argument
1950 if (num_banks) { in cik_get_2d_params()
1954 *num_banks = 2; in cik_get_2d_params()
1957 *num_banks = 4; in cik_get_2d_params()
1960 *num_banks = 8; in cik_get_2d_params()
1963 *num_banks = 16; in cik_get_2d_params()
2063 surf_man->hw_info.num_banks = 4; in cik_init_hw_info()
2066 surf_man->hw_info.num_banks = 8; in cik_init_hw_info()
2069 surf_man->hw_info.num_banks = 16; in cik_init_hw_info()
2072 surf_man->hw_info.num_banks = 8; in cik_init_hw_info()
2211 unsigned num_pipes, unsigned num_banks, in cik_surface_init_2d() argument
2239 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in cik_surface_init_2d()
2300 uint32_t num_pipes, num_banks; in cik_surface_init_2d_miptrees() local
2304 &num_pipes, NULL, &num_banks, NULL, NULL, NULL); in cik_surface_init_2d_miptrees()
2307 surf->tile_split, num_pipes, num_banks, 0, 0); in cik_surface_init_2d_miptrees()
2314 surf->stencil_tile_split, num_pipes, num_banks, in cik_surface_init_2d_miptrees()