• Home
  • Raw
  • Download

Lines Matching refs:bpe

172                         unsigned bpe, unsigned level,  in surf_minify()  argument
194 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in surf_minify()
283 xalign = MAX2(1, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear()
287 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_linear()
293 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear()
314 xalign = MAX2(64, surf_man->hw_info.group_bytes / surf->bpe); in r6_surface_init_linear_aligned()
321 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_linear_aligned()
340 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
345 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_1d()
354 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_1d()
375 (tilew * surf->bpe * surf->nsamples); in r6_surface_init_2d()
381 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); in r6_surface_init_2d()
387 surf->nsamples * surf->bpe * 64, in r6_surface_init_2d()
388 xalign * yalign * surf->nsamples * surf->bpe); in r6_surface_init_2d()
394 surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, offset); in r6_surface_init_2d()
575 unsigned bpe, in eg_surf_minify() argument
608 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in eg_surf_minify()
617 unsigned bpe, in eg_surface_init_1d() argument
625 xalign = surf_man->hw_info.group_bytes / (tilew * bpe * surf->nsamples); in eg_surface_init_1d()
630 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in eg_surface_init_1d()
645 surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, offset); in eg_surface_init_1d()
658 unsigned bpe, unsigned tile_split, in eg_surface_init_2d() argument
669 tileb = tilew * tileh * bpe * surf->nsamples; in eg_surface_init_2d()
695 eg_surf_minify(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, mtileb, offset); in eg_surface_init_2d()
697 return eg_surface_init_1d(surf_man, surf, level, bpe, offset, i); in eg_surface_init_2d()
782 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_sanity()
801 r = eg_surface_init_1d(surf_man, surf, surf->level, surf->bpe, 0, 0); in eg_surface_init_1d_miptrees()
823 r = eg_surface_init_2d(surf_man, surf, surf->level, surf->bpe, in eg_surface_init_2d_miptrees()
925 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
971 surf->tile_split = MAX2(2 * surf->bpe * 64, 256); in eg_surface_best()
995 tileb = MIN2(surf->tile_split, 64 * surf->bpe * surf->nsamples); in eg_surface_best()
1371 switch (surf->bpe) { in si_surface_sanity()
1382 switch (surf->bpe) { in si_surface_sanity()
1426 unsigned bpe, unsigned level, in si_surf_minify() argument
1456 xalign = MAX2(xalign, slice_align / surf->bpe); in si_surf_minify()
1459 xalign = MAX2(xalign, slice_align / bpe / surflevel->nblk_y); in si_surf_minify()
1465 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify()
1474 unsigned bpe, unsigned level, unsigned slice_pt, in si_surf_minify_2d() argument
1514 surflevel->pitch_bytes = surflevel->nblk_x * bpe * surf->nsamples; in si_surf_minify_2d()
1532 xalign = MAX2(8, 64 / surf->bpe); in si_surface_init_linear_aligned()
1535 slice_align = MAX2(64 * surf->bpe, surf_man->hw_info.group_bytes); in si_surface_init_linear_aligned()
1540 … si_surf_minify(surf, surf->level+i, surf->bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_linear_aligned()
1556 unsigned bpe, unsigned tile_mode, in si_surface_init_1d() argument
1569 xalign = MAX2((bpe == 1) ? 64 : 32, xalign); in si_surface_init_1d()
1583 si_surf_minify(surf, level+i, bpe, i, xalign, yalign, zalign, slice_align, offset); in si_surface_init_1d()
1608 r = si_surface_init_1d(surf_man, surf, surf->level, surf->bpe, tile_mode, 0, 0); in si_surface_init_1d_miptrees()
1623 unsigned bpe, unsigned tile_mode, in si_surface_init_2d() argument
1638 tileb = tilew * tileh * bpe * surf->nsamples; in si_surface_init_2d()
1665 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in si_surface_init_2d()
1684 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in si_surface_init_2d()
1716 …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()
1861 unsigned bpe, unsigned nsamples, bool is_color, in cik_get_2d_params() argument
1944 tileb_1x = 8 * 8 * bpe; in cik_get_2d_params()
2191 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_sanity()
2220 unsigned bpe, unsigned tile_mode, in cik_surface_init_2d() argument
2235 tileb_1x = tilew * tileh * bpe; in cik_surface_init_2d()
2267 … si_surf_minify_2d(surf, level+i, bpe, i, slice_pt, mtilew, mtileh, 1, mtileb, aligned_offset); in cik_surface_init_2d()
2286 return si_surface_init_1d(surf_man, surf, level, bpe, tile_mode, offset, i); in cik_surface_init_2d()
2313 cik_get_2d_params(surf_man, surf->bpe, surf->nsamples, in cik_surface_init_2d_miptrees()
2317 r = cik_surface_init_2d(surf_man, surf, surf->level, surf->bpe, tile_mode, in cik_surface_init_2d_miptrees()