• Home
  • Raw
  • Download

Lines Matching refs:xalign

170                         uint32_t xalign, uint32_t yalign, uint32_t zalign,  in surf_minify()  argument
181 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in surf_minify()
186 surflevel->nblk_x = ALIGN(surflevel->nblk_x, xalign); in surf_minify()
270 uint32_t xalign, yalign, zalign; in r6_surface_init_linear() local
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()
304 uint32_t xalign, yalign, zalign; in r6_surface_init_linear_aligned() local
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()
332 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_1d() local
337 xalign = surf_man->hw_info.group_bytes / (tilew * surf->bpe * surf->nsamples); in r6_surface_init_1d()
338 xalign = MAX2(tilew, xalign); 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()
365 uint32_t xalign, yalign, zalign, tilew; in r6_surface_init_2d() local
371 xalign = (surf_man->hw_info.group_bytes * surf_man->hw_info.num_banks) / in r6_surface_init_2d()
373 xalign = MAX2(tilew * surf_man->hw_info.num_banks, xalign); in r6_surface_init_2d()
375 xalign = MAX2(128, xalign); in r6_surface_init_2d()
378 xalign = MAX2((surf->bpe == 1) ? 64 : 32, xalign); 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()
617 uint32_t xalign, yalign, zalign, tilew; in eg_surface_init_1d() local
622 xalign = surf_man->hw_info.group_bytes / (tilew * bpe * surf->nsamples); in eg_surface_init_1d()
623 xalign = MAX2(tilew, xalign); 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()
1424 uint32_t xalign, uint32_t yalign, uint32_t zalign, 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()
1458 surflevel->nblk_x = ALIGN(surflevel->nblk_x, xalign); in si_surf_minify()
1472 uint32_t xalign, uint32_t yalign, uint32_t zalign, in si_surf_minify_2d() argument
1497 if (surflevel->nblk_x < xalign || surflevel->nblk_y < yalign) { in si_surf_minify_2d()
1502 surflevel->nblk_x = ALIGN(surflevel->nblk_x, xalign); in si_surf_minify_2d()
1507 mtile_pr = surflevel->nblk_x / xalign; in si_surf_minify_2d()
1522 uint32_t xalign, yalign, zalign, slice_align; in si_surface_init_linear_aligned() local
1529 xalign = MAX2(8, 64 / surf->bpe); 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()
1556 uint32_t xalign, yalign, zalign, slice_align; in si_surface_init_1d() local
1561 xalign = 8; in si_surface_init_1d()
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()