Home
last modified time | relevance | path

Searched refs:xalign (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/radeon/
Dradeon_surface.c170 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()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dcik_sdma.c286 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture() local
293 if (copy_width % xalign != 0 && in cik_sdma_copy_texture()
296 linear_x + align(copy_width, xalign) <= linear_pitch && in cik_sdma_copy_texture()
297 tiled_x + align(copy_width, xalign) <= tiled_pitch) in cik_sdma_copy_texture()
298 copy_width_aligned = align(copy_width, xalign); in cik_sdma_copy_texture()
381 linear_pitch % xalign == 0 && in cik_sdma_copy_texture()
382 linear_x % xalign == 0 && in cik_sdma_copy_texture()
383 tiled_x % xalign == 0 && in cik_sdma_copy_texture()
384 copy_width_aligned % xalign == 0 && in cik_sdma_copy_texture()