Home
last modified time | relevance | path

Searched refs:dst_stride (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c408 left = (r->plane[n].dst_stride - y) * PAGE_SIZE; in assert_rotated()
501 left = (r->plane[n].dst_stride - r->plane[n].width) * PAGE_SIZE; in assert_remapped()
539 return a->dst_stride * a->width + b->dst_stride * b->width; in remapped_size()
541 return a->dst_stride * a->height + b->dst_stride * b->height; in remapped_size()
566 { .width = 2, .height = 2, .src_stride = 2, .dst_stride = 2 }, in igt_vma_rotate_remap()
567 { .width = 3, .height = 3, .src_stride = 3, .dst_stride = 4 }, in igt_vma_rotate_remap()
568 { .width = 5, .height = 6, .src_stride = 7, .dst_stride = 8 }, in igt_vma_rotate_remap()
604 if (!plane_info[0].dst_stride) in igt_vma_rotate_remap()
605 plane_info[0].dst_stride = view.type == I915_GTT_VIEW_ROTATED ? in igt_vma_rotate_remap()
608 if (!plane_info[1].dst_stride) in igt_vma_rotate_remap()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c457 u32 dst_stride, struct vmw_bo *src, in vmw_external_bo_copy() argument
489 if (src_stride == dst_stride) { in vmw_external_bo_copy()
493 min(dst_stride * height, min(dst_size, src_size))); in vmw_external_bo_copy()
495 WARN_ON(dst_stride < width_in_bytes); in vmw_external_bo_copy()
499 vdst += dst_stride; in vmw_external_bo_copy()
503 x_in_bytes = (dst_offset % dst_stride); in vmw_external_bo_copy()
505 diff->rect.y1 = ((dst_offset - x_in_bytes) / dst_stride); in vmw_external_bo_copy()
542 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() argument
554 u32 j, initial_line = dst_offset / dst_stride; in vmw_bo_cpu_blit()
584 return vmw_external_bo_copy(vmw_dst, dst_offset, dst_stride, in vmw_bo_cpu_blit()
[all …]
H A Dvmwgfx_drv.h1356 u32 dst_offset, u32 dst_stride,
/linux/drivers/gpu/drm/xe/display/
H A Dxe_fb_pin.c19 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_dpt_rotated() argument
42 *dpt_ofs += (dst_stride - height) * 8; in write_dpt_rotated()
52 u32 dst_stride) in write_dpt_remapped() argument
73 *dpt_ofs += (dst_stride - width) * 8; in write_dpt_remapped()
148 remap_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
160 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
170 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_ggtt_rotated() argument
188 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated()
266 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_ggtt()
/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c838 unsigned int dst_stride, unsigned int dst_step, in decode_plane() argument
857 dst += dst_stride; in decode_plane()
873 u8 *dstp = dst + j * 8 * dst_stride + i * 8 * dst_step; in decode_plane()
881 dst_stride, dst_step); in decode_plane()
903 fill_decoder_block(dstp, cf->de_fwht, dst_stride, in decode_plane()
914 struct fwht_raw_frame *dst, unsigned int dst_stride, in fwht_decode_frame() argument
922 ref->luma_alpha_step, dst->luma, dst_stride, in fwht_decode_frame()
953 ref->luma_alpha_step, dst->alpha, dst_stride, in fwht_decode_frame()
H A Dcodec-fwht.h116 struct fwht_raw_frame *dst, unsigned int dst_stride,
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1502 assign_chk_ovf(i915, remap_info->dst_stride, in calc_plane_remap_info()
1515 color_plane_info->mapping_stride = remap_info->dst_stride * tile_height; in calc_plane_remap_info()
1518 size += remap_info->dst_stride * remap_info->width; in calc_plane_remap_info()
1544 unsigned int dst_stride; in calc_plane_remap_info() local
1553 dst_stride = remap_info->src_stride; in calc_plane_remap_info()
1555 dst_stride = remap_info->width; in calc_plane_remap_info()
1557 dst_stride = plane_view_dst_stride_tiles(fb, color_plane, dst_stride); in calc_plane_remap_info()
1559 assign_chk_ovf(i915, remap_info->dst_stride, dst_stride); in calc_plane_remap_info()
1560 color_plane_info->mapping_stride = dst_stride * in calc_plane_remap_info()
1566 dst_stride); in calc_plane_remap_info()
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_debugfs.c227 vma->gtt_view.rotated.plane[0].dst_stride, in i915_debugfs_describe_obj()
232 vma->gtt_view.rotated.plane[1].dst_stride, in i915_debugfs_describe_obj()
241 vma->gtt_view.remapped.plane[0].dst_stride, in i915_debugfs_describe_obj()
246 vma->gtt_view.remapped.plane[1].dst_stride, in i915_debugfs_describe_obj()
H A Di915_vma_types.h108 u16 dst_stride; member
/linux/drivers/gpu/drm/xe/compat-i915-headers/
H A Di915_vma_types.h20 u16 dst_stride; member
/linux/drivers/dma/
H A Ddma-axi-dmac.c117 u32 dst_stride; member
277 axi_dmac_write(dmac, AXI_DMAC_REG_DEST_STRIDE, sg->hw->dst_stride); in axi_dmac_start_transfer()
796 desc->sg[0].hw->dst_stride = xt->sgl[0].size + dst_icg; in axi_dmac_prep_interleaved()