Lines Matching refs:tileb
658 unsigned tilew, tileh, tileb; in eg_surface_init_2d() local
666 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
669 if (tileb > tile_split && tile_split) { in eg_surface_init_2d()
670 slice_pt = tileb / tile_split; in eg_surface_init_2d()
672 tileb = tileb / slice_pt; in eg_surface_init_2d()
678 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in eg_surface_init_2d()
709 unsigned tileb; in eg_surface_sanity() local
779 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
780 if ((tileb * surf->bankh * surf->bankw) < surf_man->hw_info.group_bytes) { in eg_surface_sanity()
911 unsigned mode, tileb, h_over_w; in eg_surface_best() local
922 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
924 if ((tileb * surf->bankh * surf->bankw) >= surf_man->hw_info.group_bytes) { in eg_surface_best()
990 tileb = MIN2(surf->tile_split, 64 * surf->nsamples); in eg_surface_best()
992 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
999 switch (tileb) { in eg_surface_best()
1013 if ((tileb * surf->bankh * surf->bankw) >= surf_man->hw_info.group_bytes) { in eg_surface_best()
1627 unsigned tilew, tileh, tileb; in si_surface_init_2d() local
1635 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1638 if (tileb > tile_split && tile_split) { in si_surface_init_2d()
1639 slice_pt = tileb / tile_split; in si_surface_init_2d()
1641 tileb = tileb / slice_pt; in si_surface_init_2d()
1648 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in si_surface_init_2d()
1868 unsigned tileb_1x, tileb; in cik_get_2d_params() local
1948 tileb = MIN2(tile_split, nsamples * tileb_1x); in cik_get_2d_params()
1950 for (macrotile_index = 0; tileb > 64; macrotile_index++) { in cik_get_2d_params()
1951 tileb >>= 1; in cik_get_2d_params()
2224 unsigned tilew, tileh, tileb_1x, tileb; in cik_surface_init_2d() local
2236 tileb = surf->nsamples * tileb_1x; in cik_surface_init_2d()
2240 if (tileb > tile_split && tile_split) { in cik_surface_init_2d()
2241 slice_pt = tileb / tile_split; in cik_surface_init_2d()
2242 tileb = tileb / slice_pt; in cik_surface_init_2d()
2250 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in cik_surface_init_2d()