/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 411 left = (r->plane[n].dst_stride - y) * PAGE_SIZE; in assert_rotated() 504 left = (r->plane[n].dst_stride - r->plane[n].width) * PAGE_SIZE; in assert_remapped() 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() 569 { .width = 2, .height = 2, .src_stride = 2, .dst_stride = 2 }, in igt_vma_rotate_remap() 570 { .width = 3, .height = 3, .src_stride = 3, .dst_stride = 4 }, in igt_vma_rotate_remap() 571 { .width = 5, .height = 6, .src_stride = 7, .dst_stride = 8 }, in igt_vma_rotate_remap() 608 if (!plane_info[0].dst_stride) in igt_vma_rotate_remap() [all...] |
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_blit.c | 457 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() 522 * @dst_stride: Destination stride in bytes. 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() [all...] |
H A D | vmwgfx_drv.h | 1327 u32 dst_offset, u32 dst_stride,
|
/linux/drivers/gpu/drm/xe/display/ |
H A D | xe_fb_pin.c | 22 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_dpt_rotated() argument 45 *dpt_ofs += (dst_stride - height) * 8; in write_dpt_rotated() 55 u32 dst_stride) in write_dpt_remapped() argument 74 *dpt_ofs += (dst_stride - width) * 8; in write_dpt_remapped() 149 remap_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt() 161 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_dpt() 174 u32 width, u32 height, u32 src_stride, u32 dst_stride) in write_ggtt_rotated() argument 192 *ggtt_ofs += (dst_stride - height) * XE_PAGE_SIZE; in write_ggtt_rotated() 264 rot_info->plane[i].dst_stride); in __xe_pin_fb_vma_ggtt()
|
/linux/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 838 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 D | codec-fwht.h | 116 struct fwht_raw_frame *dst, unsigned int dst_stride,
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_gtt_view_types.h | 19 u16 dst_stride; member
|
H A D | i915_debugfs.c | 221 seq_printf(m, ", rotated [(%ux%u, src_stride=%u, dst_stride=%u, offset=%u), (%ux%u, src_stride=%u, dst_stride=%u, offset=%u)]", in i915_debugfs_describe_obj() 225 vma->gtt_view.rotated.plane[0].dst_stride, in i915_debugfs_describe_obj() 230 vma->gtt_view.rotated.plane[1].dst_stride, in i915_debugfs_describe_obj() 235 seq_printf(m, ", remapped [(%ux%u, src_stride=%u, dst_stride=%u, offset=%u), (%ux%u, src_stride=%u, dst_stride=%u, offset=%u)]", in i915_debugfs_describe_obj() 239 vma->gtt_view.remapped.plane[0].dst_stride, in i915_debugfs_describe_obj() 244 vma->gtt_view.remapped.plane[1].dst_stride, in i915_debugfs_describe_obj()
|
H A D | i915_vma.c | 970 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/drivers/dma/ |
H A D | dma-axi-dmac.c | 117 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/drivers/media/platform/nxp/ |
H A D | imx-pxp.c | 844 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()
|