Lines Matching refs:bpp
63 unsigned bpp = sdst->surface.bpe; in si_sdma_v4_copy_texture() local
68 uint64_t dst_slice_pitch = ((uint64_t)sdst->surface.u.gfx9.surf_slice_size) / bpp; in si_sdma_v4_copy_texture()
69 uint64_t src_slice_pitch = ((uint64_t)ssrc->surface.u.gfx9.surf_slice_size) / bpp; in si_sdma_v4_copy_texture()
76 unsigned xalign = MAX2(1, 4 / bpp); in si_sdma_v4_copy_texture()
80 assert(sdst->surface.u.gfx9.surf_offset + dst_slice_pitch * bpp * (dstz + src_box->depth) <= in si_sdma_v4_copy_texture()
82 assert(ssrc->surface.u.gfx9.surf_offset + src_slice_pitch * bpp * (srcz + src_box->depth) <= in si_sdma_v4_copy_texture()
117 (util_logbase2(bpp) << 29)); in si_sdma_v4_copy_texture()
185 radeon_emit(cs, util_logbase2(bpp) | tiled->surface.u.gfx9.surf.swizzle_mode << 3 | in si_sdma_v4_copy_texture()
209 unsigned bpp = sdst->surface.bpe; in cik_sdma_copy_texture() local
225 ((uint64_t)sdst->surface.u.legacy.level[dst_level].slice_size_dw * 4) / bpp; in cik_sdma_copy_texture()
227 ((uint64_t)ssrc->surface.u.legacy.level[src_level].slice_size_dw * 4) / bpp; in cik_sdma_copy_texture()
242 dst_slice_pitch * bpp * (dstz + src_box->depth) <= in cik_sdma_copy_texture()
245 src_slice_pitch * bpp * (srcz + src_box->depth) <= in cik_sdma_copy_texture()
279 (util_logbase2(bpp) << 29)); in cik_sdma_copy_texture()
326 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture()
341 linear_pitch - 1 == 0x3fff && bpp == 16) in cik_sdma_copy_texture()
366 granularity = bpp == 1 ? 64 / (8 * bpp) : 128 / (8 * bpp); in cik_sdma_copy_texture()
372 bpp == 1 ? 32 / (8 * bpp) in cik_sdma_copy_texture()
373 : bpp == 2 ? 64 / (8 * bpp) : bpp <= 8 ? 128 / (8 * bpp) : 256 / (8 * bpp); in cik_sdma_copy_texture()
375 granularity = bpp <= 2 ? 64 / (8 * bpp) : bpp <= 8 ? 128 / (8 * bpp) : 256 / (8 * bpp); in cik_sdma_copy_texture()
387 bpp * (linear_z * linear_slice_pitch + linear_y * linear_pitch + linear_x); in cik_sdma_copy_texture()
388 start_linear_address -= (int)(bpp * (tiled_x % granularity)); in cik_sdma_copy_texture()
392 bpp * ((linear_z + copy_depth - 1) * linear_slice_pitch + in cik_sdma_copy_texture()