/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 408 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() [all...] |
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 837 unsigned int dst_stride, unsigned int dst_step, in decode_plane() 856 dst += dst_stride; in decode_plane() 872 u8 *dstp = dst + j * 8 * dst_stride + i * 8 * dst_step; in decode_plane() 880 dst_stride, dst_step); in decode_plane() 902 fill_decoder_block(dstp, cf->de_fwht, dst_stride, in decode_plane() 913 struct fwht_raw_frame *dst, unsigned int dst_stride, in fwht_decode_frame() 921 ref->luma_alpha_step, dst->luma, dst_stride, in fwht_decode_frame() 952 ref->luma_alpha_step, dst->alpha, dst_stride, in fwht_decode_frame() 834 decode_plane(struct fwht_cframe *cf, const __be16 **rlco, u32 height, u32 width, const u8 *ref, u32 ref_stride, unsigned int ref_step, u8 *dst, unsigned int dst_stride, unsigned int dst_step, bool uncompressed, const __be16 *end_of_rlco_buf) decode_plane() argument 909 fwht_decode_frame(struct fwht_cframe *cf, u32 hdr_flags, unsigned int components_num, unsigned int width, unsigned int height, const struct fwht_raw_frame *ref, unsigned int ref_stride, unsigned int ref_chroma_stride, struct fwht_raw_frame *dst, unsigned int dst_stride, unsigned int dst_chroma_stride) fwht_decode_frame() argument
|
H A D | codec-fwht.h | 148 struct fwht_raw_frame *dst, unsigned int dst_stride,
|
/kernel/linux/linux-6.6/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 838 unsigned int dst_stride, unsigned int dst_step, in decode_plane() 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() 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() 835 decode_plane(struct fwht_cframe *cf, const __be16 **rlco, u32 height, u32 width, const u8 *ref, u32 ref_stride, unsigned int ref_step, u8 *dst, unsigned int dst_stride, unsigned int dst_step, bool uncompressed, const __be16 *end_of_rlco_buf) decode_plane() argument 910 fwht_decode_frame(struct fwht_cframe *cf, u32 hdr_flags, unsigned int components_num, unsigned int width, unsigned int height, const struct fwht_raw_frame *ref, unsigned int ref_stride, unsigned int ref_chroma_stride, struct fwht_raw_frame *dst, unsigned int dst_stride, unsigned int dst_chroma_stride) fwht_decode_frame() argument
|
H A D | codec-fwht.h | 116 struct fwht_raw_frame *dst, unsigned int dst_stride,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_fb.c | 1459 assign_chk_ovf(i915, remap_info->dst_stride, in calc_plane_remap_info() 1472 color_plane_info->mapping_stride = remap_info->dst_stride * tile_height; in calc_plane_remap_info() 1475 size += remap_info->dst_stride * remap_info->width; in calc_plane_remap_info() 1501 unsigned int dst_stride; in calc_plane_remap_info() local 1510 dst_stride = remap_info->src_stride; in calc_plane_remap_info() 1512 dst_stride = remap_info->width; in calc_plane_remap_info() 1514 dst_stride = plane_view_dst_stride_tiles(fb, color_plane, dst_stride); in calc_plane_remap_info() 1516 assign_chk_ovf(i915, remap_info->dst_stride, dst_stride); in calc_plane_remap_info() [all...] |
H A D | intel_display.c | 504 size += rot_info->plane[i].dst_stride * rot_info->plane[i].width; in intel_rotation_info_size() 520 plane_size = rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_blit.c | 428 * @dst_stride: Destination stride in bytes. 447 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() 457 u32 j, initial_line = dst_offset / dst_stride; in vmw_bo_cpu_blit() 493 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit() 498 dst_offset += dst_stride; in vmw_bo_cpu_blit() 446 vmw_bo_cpu_blit(struct ttm_buffer_object *dst, u32 dst_offset, u32 dst_stride, struct ttm_buffer_object *src, u32 src_offset, u32 src_stride, u32 w, u32 h, struct vmw_diff_cpy *diff) vmw_bo_cpu_blit() argument
|
H A D | vmwgfx_drv.h | 1477 u32 dst_offset, u32 dst_stride,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_blit.c | 428 * @dst_stride: Destination stride in bytes. 448 u32 dst_offset, u32 dst_stride, in vmw_bo_cpu_blit() 458 u32 j, initial_line = dst_offset / dst_stride; in vmw_bo_cpu_blit() 494 diff->line_offset = dst_offset % dst_stride; in vmw_bo_cpu_blit() 499 dst_offset += dst_stride; in vmw_bo_cpu_blit() 447 vmw_bo_cpu_blit(struct ttm_buffer_object *dst, u32 dst_offset, u32 dst_stride, struct ttm_buffer_object *src, u32 src_offset, u32 src_stride, u32 w, u32 h, struct vmw_diff_cpy *diff) vmw_bo_cpu_blit() argument
|
H A D | vmwgfx_drv.h | 1359 u32 dst_offset, u32 dst_stride,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | accel_2d.c | 148 * @dst_stride in bytes 162 uint32_t dst_stride, uint32_t dst_format, in psb_accel_2d_copy() 197 PSB_2D_DST_SURF_BH | dst_format | (dst_stride << in psb_accel_2d_copy() 159 psb_accel_2d_copy(struct drm_psb_private *dev_priv, uint32_t src_offset, uint32_t src_stride, uint32_t src_format, uint32_t dst_offset, uint32_t dst_stride, uint32_t dst_format, uint16_t src_x, uint16_t src_y, uint16_t dst_x, uint16_t dst_y, uint16_t size_x, uint16_t size_y) psb_accel_2d_copy() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 236 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() 240 vma->gtt_view.rotated.plane[0].dst_stride, in i915_debugfs_describe_obj() 245 vma->gtt_view.rotated.plane[1].dst_stride, in i915_debugfs_describe_obj() 250 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() 254 vma->gtt_view.remapped.plane[0].dst_stride, in i915_debugfs_describe_obj() 259 vma->gtt_view.remapped.plane[1].dst_stride, in i915_debugfs_describe_obj()
|
H A D | i915_vma_types.h | 108 u16 dst_stride; member
|
H A D | i915_vma.c | 938 unsigned int src_stride, unsigned int dst_stride, in rotate_pages() 963 left = (dst_stride - height) * I915_GTT_PAGE_SIZE; in rotate_pages() 1011 rot_info->plane[i].dst_stride, in intel_rotate_pages() 1050 unsigned int src_stride, unsigned int dst_stride, in remap_tiled_color_plane_pages() 1092 left = (dst_stride - width) * I915_GTT_PAGE_SIZE; in remap_tiled_color_plane_pages() 1100 *gtt_offset += alignment_pad + dst_stride * height; in remap_tiled_color_plane_pages() 1186 rem_info->plane[color_plane].dst_stride, in remap_color_plane_pages() 936 rotate_pages(struct drm_i915_gem_object *obj, unsigned int offset, unsigned int width, unsigned int height, unsigned int src_stride, unsigned int dst_stride, struct sg_table *st, struct scatterlist *sg) rotate_pages() argument 1047 remap_tiled_color_plane_pages(struct drm_i915_gem_object *obj, unsigned long offset, unsigned int alignment_pad, unsigned int width, unsigned int height, unsigned int src_stride, unsigned int dst_stride, struct sg_table *st, struct scatterlist *sg, unsigned int *gtt_offset) remap_tiled_color_plane_pages() argument
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
H A D | imx-pxp.c | 726 u32 dst_width, dst_height, dst_stride, dst_fourcc; in pxp_start() local 742 dst_stride = ctx->q_data[V4L2_M2M_DST].bytesperline; in pxp_start() 783 out_buf2 = out_buf + dst_stride * dst_height; in pxp_start() 789 out_pitch = BF_PXP_OUT_PITCH_PITCH(dst_stride); in pxp_start()
|
/kernel/linux/linux-6.6/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()
|