Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c411 left = (r->plane[n].dst_stride - y) * PAGE_SIZE; in assert_rotated()
542 return a->dst_stride * a->width + b->dst_stride * b->width; in remapped_size()
544 return a->dst_stride * a->height + b->dst_stride * b->height; in remapped_size()
608 if (!plane_info[0].dst_stride) in igt_vma_rotate_remap()
612 if (!plane_info[1].dst_stride) in igt_vma_rotate_remap()
686 plane_info[0].dst_stride, in igt_vma_rotate_remap()
691 plane_info[1].dst_stride, in igt_vma_rotate_remap()
1019 if (!plane_info[0].dst_stride) in igt_vma_remapped_gtt()
1020 plane_info[0].dst_stride = *t == I915_GTT_VIEW_ROTATED ? in igt_vma_remapped_gtt()
1044 offset = (x * plane_info[0].dst_stride + y) * PAGE_SIZE; in igt_vma_remapped_gtt()
[all …]
/linux-6.15/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()
625 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit()
[all …]
H A Dvmwgfx_drv.h1356 u32 dst_offset, u32 dst_stride,
/linux-6.15/drivers/gpu/drm/xe/display/
H A Dxe_fb_pin.c21 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_dpt_rotated() argument
44 *dpt_ofs += (dst_stride - height) * 8; in write_dpt_rotated()
54 u32 dst_stride) in write_dpt_remapped() argument
75 *dpt_ofs += (dst_stride - width) * 8; in write_dpt_remapped()
150 remap_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
162 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
172 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_ggtt_rotated() argument
190 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated()
268 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_ggtt()
/linux-6.15/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-6.15/drivers/gpu/drm/i915/display/
H A Dintel_fb.c1519 assign_chk_ovf(display, remap_info->dst_stride, in calc_plane_remap_info()
1535 size += remap_info->dst_stride * remap_info->width; in calc_plane_remap_info()
1561 unsigned int dst_stride; in calc_plane_remap_info() local
1570 dst_stride = remap_info->src_stride; in calc_plane_remap_info()
1572 dst_stride = remap_info->width; in calc_plane_remap_info()
1574 dst_stride = plane_view_dst_stride_tiles(fb, color_plane, dst_stride); in calc_plane_remap_info()
1576 assign_chk_ovf(display, remap_info->dst_stride, dst_stride); in calc_plane_remap_info()
1577 color_plane_info->mapping_stride = dst_stride * in calc_plane_remap_info()
1583 dst_stride); in calc_plane_remap_info()
1585 size += dst_stride * remap_info->height; in calc_plane_remap_info()
[all …]
/linux-6.15/drivers/gpu/drm/i915/
H A Di915_gtt_view_types.h19 u16 dst_stride; member
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.c970 unsigned int src_stride, unsigned int dst_stride, in rotate_pages() argument
995 left = (dst_stride - height) * I915_GTT_PAGE_SIZE; in rotate_pages()
1043 rot_info->plane[i].dst_stride, in intel_rotate_pages()
1082 unsigned int src_stride, unsigned int dst_stride, in remap_tiled_color_plane_pages() argument
1124 left = (dst_stride - width) * I915_GTT_PAGE_SIZE; in remap_tiled_color_plane_pages()
1132 *gtt_offset += alignment_pad + dst_stride * height; in remap_tiled_color_plane_pages()
1218 rem_info->plane[color_plane].dst_stride, in remap_color_plane_pages()
/linux-6.15/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()
/linux-6.15/drivers/media/platform/nxp/
H A Dimx-pxp.c844 u32 dst_width, dst_height, dst_stride, dst_fourcc; in pxp_start() local
860 dst_stride = ctx->q_data[V4L2_M2M_DST].bytesperline; in pxp_start()
907 out_buf2 = out_buf + dst_stride * dst_height; in pxp_start()
913 out_pitch = BF_PXP_OUT_PITCH_PITCH(dst_stride); in pxp_start()