Lines Matching refs:tileb
661 unsigned tilew, tileh, tileb; in eg_surface_init_2d() local
669 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
672 if (tileb > tile_split && tile_split) { in eg_surface_init_2d()
673 slice_pt = tileb / tile_split; in eg_surface_init_2d()
675 tileb = tileb / slice_pt; in eg_surface_init_2d()
681 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in eg_surface_init_2d()
712 unsigned tileb; in eg_surface_sanity() local
782 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
783 if ((tileb * surf->bankh * surf->bankw) < surf_man->hw_info.group_bytes) { in eg_surface_sanity()
914 unsigned mode, tileb, h_over_w; in eg_surface_best() local
925 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
927 if ((tileb * surf->bankh * surf->bankw) >= surf_man->hw_info.group_bytes) { in eg_surface_best()
993 tileb = MIN2(surf->tile_split, 64 * surf->nsamples); in eg_surface_best()
995 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1002 switch (tileb) { in eg_surface_best()
1016 if ((tileb * surf->bankh * surf->bankw) >= surf_man->hw_info.group_bytes) { in eg_surface_best()
1630 unsigned tilew, tileh, tileb; in si_surface_init_2d() local
1638 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1641 if (tileb > tile_split && tile_split) { in si_surface_init_2d()
1642 slice_pt = tileb / tile_split; in si_surface_init_2d()
1644 tileb = tileb / slice_pt; in si_surface_init_2d()
1651 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in si_surface_init_2d()
1871 unsigned tileb_1x, tileb; in cik_get_2d_params() local
1951 tileb = MIN2(tile_split, nsamples * tileb_1x); in cik_get_2d_params()
1953 for (macrotile_index = 0; tileb > 64; macrotile_index++) { in cik_get_2d_params()
1954 tileb >>= 1; in cik_get_2d_params()
2227 unsigned tilew, tileh, tileb_1x, tileb; in cik_surface_init_2d() local
2239 tileb = surf->nsamples * tileb_1x; in cik_surface_init_2d()
2243 if (tileb > tile_split && tile_split) { in cik_surface_init_2d()
2244 slice_pt = tileb / tile_split; in cik_surface_init_2d()
2245 tileb = tileb / slice_pt; in cik_surface_init_2d()
2253 mtileb = (mtilew / tilew) * (mtileh / tileh) * tileb; in cik_surface_init_2d()