Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/selftests/
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-6.12.1/drivers/gpu/drm/vmwgfx/
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 …]
Dvmwgfx_drv.h1357 u32 dst_offset, u32 dst_stride,
/linux-6.12.1/drivers/gpu/drm/xe/display/
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()
140 remap_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
152 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt()
162 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_ggtt_rotated() argument
180 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated()
256 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_ggtt()
/linux-6.12.1/drivers/media/test-drivers/vicodec/
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()
Dcodec-fwht.h116 struct fwht_raw_frame *dst, unsigned int dst_stride,
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_fb.c1421 assign_chk_ovf(i915, remap_info->dst_stride, in calc_plane_remap_info()
1434 color_plane_info->mapping_stride = remap_info->dst_stride * tile_height; in calc_plane_remap_info()
1437 size += remap_info->dst_stride * remap_info->width; in calc_plane_remap_info()
1463 unsigned int dst_stride; in calc_plane_remap_info() local
1472 dst_stride = remap_info->src_stride; in calc_plane_remap_info()
1474 dst_stride = remap_info->width; in calc_plane_remap_info()
1476 dst_stride = plane_view_dst_stride_tiles(fb, color_plane, dst_stride); in calc_plane_remap_info()
1478 assign_chk_ovf(i915, remap_info->dst_stride, dst_stride); in calc_plane_remap_info()
1479 color_plane_info->mapping_stride = dst_stride * in calc_plane_remap_info()
1485 dst_stride); in calc_plane_remap_info()
[all …]
Dintel_display.c541 size += rot_info->plane[i].dst_stride * rot_info->plane[i].width; in intel_rotation_info_size()
557 plane_size = rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Di915_vma_types.h20 u16 dst_stride; member
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_debugfs.c233 vma->gtt_view.rotated.plane[0].dst_stride, in i915_debugfs_describe_obj()
238 vma->gtt_view.rotated.plane[1].dst_stride, in i915_debugfs_describe_obj()
247 vma->gtt_view.remapped.plane[0].dst_stride, in i915_debugfs_describe_obj()
252 vma->gtt_view.remapped.plane[1].dst_stride, in i915_debugfs_describe_obj()
Di915_vma_types.h108 u16 dst_stride; member
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.12.1/drivers/dma/
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.12.1/drivers/media/platform/nxp/
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()