Lines Matching refs:xalign
76 unsigned xalign = MAX2(1, 4 / bpp); in si_sdma_v4_copy_texture() local
111 if ((src_address % 4) != 0 || (dst_address % 4) != 0 || (src_pitch % xalign) != 0) in si_sdma_v4_copy_texture()
169 if ((tiled_address % 256 != 0) || (linear_address % 4 != 0) || (linear_pitch % xalign != 0) || in si_sdma_v4_copy_texture()
170 (linear_slice_pitch % xalign != 0)) in si_sdma_v4_copy_texture()
326 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture() local
333 if (copy_width % xalign != 0 && linear_x + copy_width == linear_width && in cik_sdma_copy_texture()
335 linear_x + align(copy_width, xalign) <= linear_pitch && in cik_sdma_copy_texture()
336 tiled_x + align(copy_width, xalign) <= tiled_pitch) in cik_sdma_copy_texture()
337 copy_width_aligned = align(copy_width, xalign); in cik_sdma_copy_texture()
402 if (tiled_address % 256 == 0 && linear_address % 4 == 0 && linear_pitch % xalign == 0 && in cik_sdma_copy_texture()
403 linear_x % xalign == 0 && tiled_x % xalign == 0 && copy_width_aligned % xalign == 0 && in cik_sdma_copy_texture()