• Home
  • Raw
  • Download

Lines Matching refs:bpe

169                         unsigned bpe, unsigned level,  in surf_minify()  argument
191 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
280 xalign = MAX2(1, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear()
284 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_linear()
290 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear()
311 xalign = MAX2(64, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear_aligned()
318 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear_aligned()
337 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
342 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_1d()
351 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_1d()
372 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
378 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_2d()
384 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
385 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
391 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_2d()
572 unsigned bpe, in eg_surf_minify() argument
605 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
614 unsigned bpe, in eg_surface_init_1d() argument
622 xalign = surf_man->hw_info.group_bytes / (tilew * bpe * surf->nsamples); in eg_surface_init_1d()
627 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in eg_surface_init_1d()
642 surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, offset); in eg_surface_init_1d()
655 unsigned bpe, unsigned tile_split, in eg_surface_init_2d() argument
666 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
692 eg_surf_minify(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, mtileb, offset); in eg_surface_init_2d()
694 return eg_surface_init_1d(surf_man, surf, level, bpe, offset, i); in eg_surface_init_2d()
779 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
798 r = eg_surface_init_1d(surf_man, surf, surf->level, surf->bpe, 0, 0); in eg_surface_init_1d_miptrees()
820 r = eg_surface_init_2d(surf_man, surf, surf->level, surf->bpe, in eg_surface_init_2d_miptrees()
922 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
968 surf->tile_split = MAX2(2 * surf->bpe * 64, 256); in eg_surface_best()
992 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1368 switch (surf->bpe) { in si_surface_sanity()
1379 switch (surf->bpe) { in si_surface_sanity()
1423 unsigned bpe, unsigned level, in si_surf_minify() argument
1453 xalign = MAX2(xalign, slice_align / surf->bpe); in si_surf_minify()
1456 xalign = MAX2(xalign, slice_align / bpe / surflevel->nblk_y); in si_surf_minify()
1462 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify()
1471 unsigned bpe, unsigned level, unsigned slice_pt, in si_surf_minify_2d() argument
1511 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify_2d()
1529 xalign = MAX2(8, 64 / surf->bpe); in si_surface_init_linear_aligned()
1532 slice_align = MAX2(64 * surf->bpe, surf_man->hw_info.group_bytes); in si_surface_init_linear_aligned()
1537 … si_surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_linear_aligned()
1553 unsigned bpe, unsigned tile_mode, in si_surface_init_1d() argument
1566 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in si_surface_init_1d()
1580 si_surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_1d()
1605 r = si_surface_init_1d(surf_man, surf, surf->level, surf->bpe, tile_mode, 0, 0); in si_surface_init_1d_miptrees()
1620 unsigned bpe, unsigned tile_mode, in si_surface_init_2d() argument
1635 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1662 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in si_surface_init_2d()
1681 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in si_surface_init_2d()
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()
1858 unsigned bpe, unsigned nsamples, bool is_color, in cik_get_2d_params() argument
1941 tileb_1x = 8 * 8 * bpe; in cik_get_2d_params()
2188 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_sanity()
2217 unsigned bpe, unsigned tile_mode, in cik_surface_init_2d() argument
2232 tileb_1x = tilew * tileh * bpe; in cik_surface_init_2d()
2264 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in cik_surface_init_2d()
2283 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in cik_surface_init_2d()
2310 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_init_2d_miptrees()
2314 r = cik_surface_init_2d(surf_man, surf, surf->level, surf->bpe, tile_mode, in cik_surface_init_2d_miptrees()