/linux-6.6.21/drivers/gpu/drm/ |
D | drm_fourcc.c | 150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info() 152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info() 154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info() 156 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 157 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info() 159 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info() 161 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info() 163 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 164 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info() 166 { .format = DRM_FORMAT_R2, .depth = 2, .num_planes = 1, in __drm_format_info() [all …]
|
D | drm_gem_framebuffer_helper.c | 71 struct drm_gem_object **obj, unsigned int num_planes, in drm_gem_fb_init() argument 79 for (i = 0; i < num_planes; i++) in drm_gem_fb_init() 101 for (i = 0; i < fb->format->num_planes; i++) in drm_gem_fb_destroy() 176 for (i = 0; i < info->num_planes; i++) { in drm_gem_fb_init_with_funcs() 359 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap() 371 for (i = 0; i < fb->format->num_planes; ++i) { in drm_gem_fb_vmap() 404 unsigned int i = fb->format->num_planes; in drm_gem_fb_vunmap() 420 unsigned int num_planes) in __drm_gem_fb_end_cpu_access() argument 426 while (num_planes) { in __drm_gem_fb_end_cpu_access() 427 --num_planes; in __drm_gem_fb_end_cpu_access() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp3/ |
D | mdp_cfg_data.c | 170 .num_planes = 1, 177 .num_planes = 1, 184 .num_planes = 1, 191 .num_planes = 1, 198 .num_planes = 1, 205 .num_planes = 1, 212 .num_planes = 1, 219 .num_planes = 1, 227 .num_planes = 1, 235 .num_planes = 1, [all …]
|
/linux-6.6.21/include/drm/ |
D | drm_fourcc.h | 75 u8 num_planes; member 157 return info->is_yuv && info->num_planes == 1; in drm_format_info_is_yuv_packed() 171 return info->is_yuv && info->num_planes == 2; in drm_format_info_is_yuv_semiplanar() 185 return info->is_yuv && info->num_planes == 3; in drm_format_info_is_yuv_planar() 276 if (!info || plane >= info->num_planes) in drm_format_info_plane_width() 298 if (!info || plane >= info->num_planes) in drm_format_info_plane_height()
|
/linux-6.6.21/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.c | 32 .num_planes = 1, 38 .num_planes = 1, 46 .num_planes = 1, 55 .num_planes = 1, 64 .num_planes = 1, 73 .num_planes = 1, 82 .num_planes = 1, 90 .num_planes = 1, 98 .num_planes = 1, 106 .num_planes = 2, [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_formats.c | 49 .num_planes = np, \ 68 .num_planes = np, \ 88 .num_planes = np, \ 106 .num_planes = np, \ 125 .num_planes = np, \ 143 .num_planes = np, \ 162 .num_planes = np, \ 182 .num_planes = np, \ 646 layout->num_planes = fmt->num_planes; in _dpu_format_get_plane_sizes_ubwc() 660 layout->num_planes = 2; in _dpu_format_get_plane_sizes_ubwc() [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_fb.c | 33 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 35 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, 37 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, 39 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, 51 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 54 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, 57 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, 60 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, 63 { .format = DRM_FORMAT_YUYV, .num_planes = 2, 66 { .format = DRM_FORMAT_YVYU, .num_planes = 2, [all …]
|
D | intel_bw.c | 414 bi->num_planes = (ipqdepth - clpchgroup) / clpchgroup + 1; in icl_get_bw_info() 438 i, j, bi->num_planes, bi->deratedbw[j]); in icl_get_bw_info() 512 bi_next->num_planes = (ipqdepth - clpchgroup) / in tgl_get_bw_info() 515 bi_next->num_planes = 0; in tgl_get_bw_info() 543 i, j, bi->num_planes, bi->deratedbw[j], in tgl_get_bw_info() 554 i, j, bi->num_planes, bi->psf_bw[j]); in tgl_get_bw_info() 587 bi->num_planes = 1; in dg2_get_bw_info() 597 int num_planes, int qgv_point) in icl_max_bw_index() argument 604 num_planes = max(1, num_planes); in icl_max_bw_index() 617 if (num_planes >= bi->num_planes) in icl_max_bw_index() [all …]
|
/linux-6.6.21/drivers/media/platform/sunxi/sun4i-csi/ |
D | sun4i_dma.c | 53 unsigned int num_planes = csi->fmt.num_planes; in sun4i_csi_queue_setup() local 57 if (*nplanes != num_planes) in sun4i_csi_queue_setup() 60 for (i = 0; i < num_planes; i++) in sun4i_csi_queue_setup() 66 *nplanes = num_planes; in sun4i_csi_queue_setup() 67 for (i = 0; i < num_planes; i++) in sun4i_csi_queue_setup() 78 for (i = 0; i < csi->fmt.num_planes; i++) { in sun4i_csi_buffer_prepare() 102 for (plane = 0; plane < csi->fmt.num_planes; plane++) { in sun4i_csi_setup_scratch_buffer() 133 for (plane = 0; plane < csi->fmt.num_planes; plane++) { in sun4i_csi_buffer_fill_slot() 256 for (i = 0; i < csi->fmt.num_planes; i++) in sun4i_csi_start_streaming()
|
/linux-6.6.21/drivers/media/platform/qcom/camss/ |
D | camss-video.c | 312 pix->num_planes = f->planes; in video_mbus_to_pix_mp() 313 for (i = 0; i < pix->num_planes; i++) { in video_mbus_to_pix_mp() 379 unsigned int *num_buffers, unsigned int *num_planes, in video_queue_setup() argument 387 if (*num_planes) { in video_queue_setup() 388 if (*num_planes != format->num_planes) in video_queue_setup() 391 for (i = 0; i < *num_planes; i++) in video_queue_setup() 398 *num_planes = format->num_planes; in video_queue_setup() 400 for (i = 0; i < *num_planes; i++) in video_queue_setup() 417 for (i = 0; i < format->num_planes; i++) { in video_buf_init() 444 for (i = 0; i < format->num_planes; i++) { in video_buf_prepare() [all …]
|
/linux-6.6.21/drivers/gpu/drm/tidss/ |
D | tidss_kms.c | 118 u32 max_planes = feat->num_planes; in tidss_dispc_modeset_init() 192 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init() 203 tidss->planes[tidss->num_planes++] = &tplane->plane; in tidss_dispc_modeset_init() 225 while (tidss->num_planes < max_planes) { in tidss_dispc_modeset_init() 227 u32 hw_plane_id = feat->vid_order[tidss->num_planes]; in tidss_dispc_modeset_init() 238 tidss->planes[tidss->num_planes++] = &tplane->plane; in tidss_dispc_modeset_init()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 582 { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, 584 { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, 586 { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, 589 { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, 592 { .format = DRM_FORMAT_BGRA8888, .depth = 32, .num_planes = 2, 595 { .format = DRM_FORMAT_XRGB2101010, .depth = 30, .num_planes = 2, 597 { .format = DRM_FORMAT_XBGR2101010, .depth = 30, .num_planes = 2, 599 { .format = DRM_FORMAT_ARGB2101010, .depth = 30, .num_planes = 2, 602 { .format = DRM_FORMAT_ABGR2101010, .depth = 30, .num_planes = 2, 605 { .format = DRM_FORMAT_RGB565, .depth = 16, .num_planes = 2, [all …]
|
/linux-6.6.21/drivers/media/test-drivers/visl/ |
D | visl-video.c | 65 dprintk(ctx->dev, "num_planes: %d\n", pix_mp->num_planes); in visl_print_fmt() 70 for (i = 0; i < pix_mp->num_planes; i++) { in visl_print_fmt() 260 pix_mp->num_planes = 1; in visl_reset_coded_fmt() 409 pix_mp->num_planes = 1; in visl_try_fmt_vid_out() 537 unsigned int *num_planes, in visl_queue_setup() argument 554 if (*num_planes) { in visl_queue_setup() 555 if (*num_planes != f->fmt.pix_mp.num_planes) in visl_queue_setup() 558 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in visl_queue_setup() 563 *num_planes = f->fmt.pix_mp.num_planes; in visl_queue_setup() 564 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in visl_queue_setup() [all …]
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 225 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_alloc() 265 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_free() 281 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_userptr_put() 315 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_dmabuf_put() 331 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_prepare() 347 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_finish() 363 struct vb2_plane *p = &prev->planes[prev->num_planes - 1]; in __setup_offsets() 368 for (plane = 0; plane < vb->num_planes; ++plane) { in __setup_offsets() 408 unsigned int num_buffers, unsigned int num_planes, in __vb2_queue_alloc() argument 429 vb->num_planes = num_planes; in __vb2_queue_alloc() [all …]
|
/linux-6.6.21/drivers/gpu/drm/sun4i/ |
D | sun4i_frontend.c | 182 if (fb->format->num_planes > 1) { in sun4i_frontend_update_buffer() 190 if (fb->format->num_planes > 2) { in sun4i_frontend_update_buffer() 200 if (fb->format->num_planes > 1) in sun4i_frontend_update_buffer() 203 if (fb->format->num_planes > 2) in sun4i_frontend_update_buffer() 212 if (fb->format->num_planes > 1) in sun4i_frontend_update_buffer() 216 if (fb->format->num_planes > 2) in sun4i_frontend_update_buffer() 228 if (fb->format->num_planes > 1) { in sun4i_frontend_update_buffer() 236 if (fb->format->num_planes > 2) { in sun4i_frontend_update_buffer() 272 switch (format->num_planes) { in sun4i_frontend_drm_format_to_input_mode() 445 ch1_phase_idx = (format->num_planes > 1) ? 1 : 0; in sun4i_frontend_update_formats()
|
/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_dec.c | 35 .num_planes = 2, 42 .num_planes = 2, 49 .num_planes = 2, 56 .num_planes = 2, 63 .num_planes = 1, 72 .num_planes = 1, 81 .num_planes = 1, 89 .num_planes = 1, 98 .num_planes = 1, 107 .num_planes = 1, [all …]
|
/linux-6.6.21/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 260 int ret, i, n = fb->format->num_planes; in omap_framebuffer_pin() 300 int i, n = fb->format->num_planes; in omap_framebuffer_unpin() 323 int i, n = fb->format->num_planes; in omap_framebuffer_describe() 341 unsigned int num_planes = info->num_planes; in omap_framebuffer_create() local 346 for (i = 0; i < num_planes; i++) { in omap_framebuffer_create() 409 if (format->num_planes == 2 && pitch != mode_cmd->pitches[1]) { in omap_framebuffer_init() 423 for (i = 0; i < format->num_planes; i++) { in omap_framebuffer_init()
|
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_vsp.c | 265 for (i = 0; i < fb->format->num_planes; ++i) { in rcar_du_vsp_map_fb() 346 for (i = 0; i < fb->format->num_planes; ++i) { in rcar_du_vsp_unmap_fb() 453 for (i = 0; i < vsp->num_planes; ++i) { in rcar_du_vsp_cleanup() 470 unsigned int num_planes; in rcar_du_vsp_init() local 489 num_planes = rcdu->info->num_rpf; in rcar_du_vsp_init() 491 vsp->planes = kcalloc(num_planes, sizeof(*vsp->planes), GFP_KERNEL); in rcar_du_vsp_init() 495 for (i = 0; i < num_planes; ++i) { in rcar_du_vsp_init() 526 num_planes - 1); in rcar_du_vsp_init() 533 vsp->num_planes++; in rcar_du_vsp_init()
|
/linux-6.6.21/drivers/media/platform/nvidia/tegra-vde/ |
D | v4l2.c | 85 unsigned int *num_planes, in tegra_queue_setup() argument 98 if (*num_planes) { in tegra_queue_setup() 99 if (*num_planes != f->fmt.pix_mp.num_planes) in tegra_queue_setup() 102 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) { in tegra_queue_setup() 107 *num_planes = f->fmt.pix_mp.num_planes; in tegra_queue_setup() 109 for (i = 0; i < f->fmt.pix_mp.num_planes; i++) in tegra_queue_setup() 159 if (V4L2_TYPE_IS_CAPTURE(vq->type) && vb->num_planes > 1) { in tegra_buf_init() 175 for (i = 0; i < vb->num_planes; i++) { in tegra_buf_init() 214 __tegra_buf_cleanup(vb, vb->num_planes); in tegra_buf_cleanup() 235 for (i = 0; i < vb->num_planes; i++) { in tegra_buf_prepare() [all …]
|
/linux-6.6.21/drivers/media/platform/qcom/venus/ |
D | vdec.c | 35 .num_planes = 1, 40 .num_planes = 1, 45 .num_planes = 1, 50 .num_planes = 1, 55 .num_planes = 1, 61 .num_planes = 1, 67 .num_planes = 1, 73 .num_planes = 1, 79 .num_planes = 1, 85 .num_planes = 1, [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec.c | 281 pix_fmt_mp->num_planes = 1; in vidioc_try_fmt() 310 pix_fmt_mp->num_planes = fmt->num_planes; in vidioc_try_fmt() 315 if (pix_fmt_mp->num_planes == 2) { in vidioc_try_fmt() 537 if (ctx->q_data[MTK_Q_DATA_DST].fmt->num_planes == 1) { in vidioc_vdec_s_fmt() 558 ctx->id, pix_mp->num_planes, in vidioc_vdec_s_fmt() 697 pix_mp->num_planes = q_data->fmt->num_planes; in vidioc_vdec_g_fmt() 716 pix_mp->num_planes = q_data->fmt->num_planes; in vidioc_vdec_g_fmt() 720 pix_mp->num_planes = q_data->fmt->num_planes; in vidioc_vdec_g_fmt() 751 if (*nplanes != q_data->fmt->num_planes) in vb2ops_vdec_queue_setup() 763 *nplanes = q_data->fmt->num_planes; in vb2ops_vdec_queue_setup() [all …]
|
/linux-6.6.21/drivers/media/platform/mediatek/mdp/ |
D | mtk_mdp_m2m.c | 53 .num_planes = 2, 61 .num_planes = 2, 69 .num_planes = 3, 77 .num_planes = 1, 239 pix_mp->num_planes = fmt->num_planes; in mtk_mdp_try_fmt_mplane() 241 for (i = 0; i < pix_mp->num_planes; ++i) { in mtk_mdp_try_fmt_mplane() 434 planes = min_t(u32, frame->fmt->num_planes, ARRAY_SIZE(addr->addr)); in mtk_mdp_prepare_addr() 541 unsigned int *num_buffers, unsigned int *num_planes, in mtk_mdp_m2m_queue_setup() argument 549 *num_planes = frame->fmt->num_planes; in mtk_mdp_m2m_queue_setup() 550 for (i = 0; i < frame->fmt->num_planes; i++) in mtk_mdp_m2m_queue_setup() [all …]
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_fb.c | 62 int i, n = fb->format->num_planes; in msm_framebuffer_describe() 83 int ret, i, n = fb->format->num_planes; in msm_framebuffer_prepare() 106 int i, n = fb->format->num_planes; in msm_framebuffer_cleanup() 143 int ret, i, n = info->num_planes; in msm_framebuffer_create() 183 n = info->num_planes; in msm_framebuffer_init()
|
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_framebuffer.c | 21 for (i = 0; i < fb->format->num_planes; i++) in komeda_fb_destroy() 124 for (i = 0; i < info->num_planes; i++) { in komeda_fb_none_afbc_size_check() 148 if (fb->format->num_planes == 3) { in komeda_fb_none_afbc_size_check() 201 for (i = 0; i < kfb->base.format->num_planes; i++) in komeda_fb_create() 245 if (plane >= fb->format->num_planes) { in komeda_fb_get_pixel_addr()
|
/linux-6.6.21/include/media/ |
D | videobuf2-core.h | 254 unsigned int num_planes; member 433 unsigned int *num_buffers, unsigned int *num_planes, 1176 if (plane_no < vb->num_planes) { in vb2_set_plane_payload() 1192 if (plane_no < vb->num_planes) in vb2_get_plane_payload() 1206 if (plane_no < vb->num_planes) in vb2_plane_size()
|