Lines Matching refs:pitch
666 unsigned int pitch) in emit_copy() argument
672 xe_gt_assert(gt, !(pitch & 3)); in emit_copy()
673 xe_gt_assert(gt, size / pitch <= S16_MAX); in emit_copy()
674 xe_gt_assert(gt, pitch / 4 <= S16_MAX); in emit_copy()
675 xe_gt_assert(gt, pitch <= U16_MAX); in emit_copy()
684 bb->cs[bb->len++] = XY_FAST_COPY_BLT_DEPTH_32 | pitch | tile_y | mocs; in emit_copy()
686 bb->cs[bb->len++] = (size / pitch) << 16 | pitch / 4; in emit_copy()
690 bb->cs[bb->len++] = pitch | mocs; in emit_copy()
944 u32 size, u32 pitch) in emit_clear_link_copy() argument
951 *cs++ = pitch - 1; in emit_clear_link_copy()
952 *cs++ = (size / pitch) - 1; in emit_clear_link_copy()
953 *cs++ = pitch - 1; in emit_clear_link_copy()
967 u64 src_ofs, u32 size, u32 pitch, bool is_vram) in emit_clear_main_copy() argument
980 (pitch - 1); in emit_clear_main_copy()
983 (pitch - 1); in emit_clear_main_copy()
985 *cs++ = (size / pitch) << 16 | pitch / 4; in emit_clear_main_copy()
1030 u32 size, u32 pitch, bool is_vram) in emit_clear() argument
1033 emit_clear_link_copy(gt, bb, src_ofs, size, pitch); in emit_clear()
1035 emit_clear_main_copy(gt, bb, src_ofs, size, pitch, in emit_clear()
1628 unsigned int pitch = len >= PAGE_SIZE && !(len & ~PAGE_MASK) ? in xe_migrate_vram() local
1662 emit_copy(gt, bb, src_L0_ofs, dst_L0_ofs, len, pitch); in xe_migrate_vram()
1891 int pitch = 4; in xe_migrate_access_memory() local
1893 current_bytes = min_t(int, current_bytes, S16_MAX * pitch); in xe_migrate_access_memory()