Lines Matching refs:num_banks
103 uint32_t num_banks; member
240 surf_man->hw_info.num_banks = 4; in r6_init_hw_info()
243 surf_man->hw_info.num_banks = 8; in r6_init_hw_info()
246 surf_man->hw_info.num_banks = 8; in r6_init_hw_info()
371 xalign = (surf_man->hw_info.group_bytes * surf_man->hw_info.num_banks) / in r6_surface_init_2d()
373 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); in r6_surface_init_2d()
383 surf_man->hw_info.num_banks * in r6_surface_init_2d()
525 surf_man->hw_info.num_banks = 4; in eg_init_hw_info()
528 surf_man->hw_info.num_banks = 8; in eg_init_hw_info()
531 surf_man->hw_info.num_banks = 16; in eg_init_hw_info()
534 surf_man->hw_info.num_banks = 8; in eg_init_hw_info()
676 mtileh = (tileh * surf->bankh * surf_man->hw_info.num_banks) / surf->mtilea; in eg_surface_init_2d()
756 if (surf_man->hw_info.num_banks < surf->mtilea) { in eg_surface_sanity()
921 surf->mtilea = surf_man->hw_info.num_banks; in eg_surface_best()
1018 h_over_w = (((surf->bankh * surf_man->hw_info.num_banks) << 16) / in eg_surface_best()
1074 unsigned *num_banks, in si_gb_tile_mode() argument
1103 if (num_banks) { in si_gb_tile_mode()
1107 *num_banks = 2; in si_gb_tile_mode()
1110 *num_banks = 4; in si_gb_tile_mode()
1113 *num_banks = 8; in si_gb_tile_mode()
1116 *num_banks = 16; in si_gb_tile_mode()
1241 surf_man->hw_info.num_banks = 4; in si_init_hw_info()
1244 surf_man->hw_info.num_banks = 8; in si_init_hw_info()
1247 surf_man->hw_info.num_banks = 16; in si_init_hw_info()
1250 surf_man->hw_info.num_banks = 8; in si_init_hw_info()
1621 unsigned num_pipes, unsigned num_banks, in si_surface_init_2d() argument
1645 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in si_surface_init_2d()
1705 unsigned num_pipes, num_banks; in si_surface_init_2d_miptrees() local
1711 si_gb_tile_mode(gb_tile_mode, &num_pipes, &num_banks, NULL, NULL, NULL, NULL); in si_surface_init_2d_miptrees()
1713 …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()
1719 …d(surf_man, surf, surf->stencil_level, 1, stencil_tile_mode, num_pipes, num_banks, surf->stencil_t… in si_surface_init_2d_miptrees()
1862 uint32_t *num_banks, in cik_get_2d_params() argument
1958 if (num_banks) { in cik_get_2d_params()
1962 *num_banks = 2; in cik_get_2d_params()
1965 *num_banks = 4; in cik_get_2d_params()
1968 *num_banks = 8; in cik_get_2d_params()
1971 *num_banks = 16; in cik_get_2d_params()
2071 surf_man->hw_info.num_banks = 4; in cik_init_hw_info()
2074 surf_man->hw_info.num_banks = 8; in cik_init_hw_info()
2077 surf_man->hw_info.num_banks = 16; in cik_init_hw_info()
2080 surf_man->hw_info.num_banks = 8; in cik_init_hw_info()
2219 unsigned num_pipes, unsigned num_banks, in cik_surface_init_2d() argument
2247 mtileh = (tileh * surf->bankh * num_banks) / surf->mtilea; in cik_surface_init_2d()
2308 uint32_t num_pipes, num_banks; in cik_surface_init_2d_miptrees() local
2312 &num_pipes, NULL, &num_banks, NULL, NULL, NULL); in cik_surface_init_2d_miptrees()
2315 surf->tile_split, num_pipes, num_banks, 0, 0); in cik_surface_init_2d_miptrees()
2322 surf->stencil_tile_split, num_pipes, num_banks, in cik_surface_init_2d_miptrees()