Lines Matching refs:bpe

164                         unsigned bpe, unsigned level,  in surf_minify()  argument
186 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
275 xalign = MAX2(1, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear()
279 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_linear()
285 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear()
306 xalign = MAX2(64, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear_aligned()
313 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear_aligned()
332 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
337 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_1d()
346 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_1d()
367 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
373 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_2d()
379 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
380 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
386 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_2d()
567 unsigned bpe, in eg_surf_minify() argument
600 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
609 unsigned bpe, in eg_surface_init_1d() argument
617 xalign = surf_man->hw_info.group_bytes / (tilew * bpe * surf->nsamples); in eg_surface_init_1d()
622 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in eg_surface_init_1d()
637 surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, offset); in eg_surface_init_1d()
650 unsigned bpe, unsigned tile_split, in eg_surface_init_2d() argument
661 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
687 eg_surf_minify(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, mtileb, offset); in eg_surface_init_2d()
689 return eg_surface_init_1d(surf_man, surf, level, bpe, offset, i); in eg_surface_init_2d()
774 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
793 r = eg_surface_init_1d(surf_man, surf, surf->level, surf->bpe, 0, 0); in eg_surface_init_1d_miptrees()
815 r = eg_surface_init_2d(surf_man, surf, surf->level, surf->bpe, in eg_surface_init_2d_miptrees()
917 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
961 surf->tile_split = MAX2(surf->nsamples * surf->bpe * 64, 256); in eg_surface_best()
985 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1361 switch (surf->bpe) { in si_surface_sanity()
1372 switch (surf->bpe) { in si_surface_sanity()
1416 unsigned bpe, unsigned level, in si_surf_minify() argument
1446 xalign = MAX2(xalign, slice_align / surf->bpe); in si_surf_minify()
1449 xalign = MAX2(xalign, slice_align / bpe / surflevel->nblk_y); in si_surf_minify()
1455 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify()
1464 unsigned bpe, unsigned level, unsigned slice_pt, in si_surf_minify_2d() argument
1504 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify_2d()
1522 xalign = MAX2(8, 64 / surf->bpe); in si_surface_init_linear_aligned()
1525 slice_align = MAX2(64 * surf->bpe, surf_man->hw_info.group_bytes); in si_surface_init_linear_aligned()
1530 … si_surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_linear_aligned()
1546 unsigned bpe, unsigned tile_mode, in si_surface_init_1d() argument
1559 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in si_surface_init_1d()
1573 si_surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_1d()
1598 r = si_surface_init_1d(surf_man, surf, surf->level, surf->bpe, tile_mode, 0, 0); in si_surface_init_1d_miptrees()
1613 unsigned bpe, unsigned tile_mode, in si_surface_init_2d() argument
1628 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1655 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in si_surface_init_2d()
1674 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in si_surface_init_2d()
1706 …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()
1851 unsigned bpe, unsigned nsamples, bool is_color, in cik_get_2d_params() argument
1934 tileb_1x = 8 * 8 * bpe; in cik_get_2d_params()
2181 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_sanity()
2210 unsigned bpe, unsigned tile_mode, in cik_surface_init_2d() argument
2225 tileb_1x = tilew * tileh * bpe; in cik_surface_init_2d()
2257 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in cik_surface_init_2d()
2276 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in cik_surface_init_2d()
2303 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_init_2d_miptrees()
2307 r = cik_surface_init_2d(surf_man, surf, surf->level, surf->bpe, tile_mode, in cik_surface_init_2d_miptrees()