| /linux/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-common.c | 40 .planes = 1, 49 .planes = 1, 57 .planes = 1, 65 .planes = 1, 73 .planes = 3, 81 .planes = 3, 89 .planes = 3, 97 .planes = 2, 105 .planes = 2, 113 .planes = 2, [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | sun8i_formats.c | 17 .planes = 1, 25 .planes = 1, 33 .planes = 1, 41 .planes = 1, 49 .planes = 1, 57 .planes = 1, 65 .planes = 1, 73 .planes = 1, 81 .planes = 1, 89 .planes = 1, [all …]
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| H A D | rcar_du_kms.c | 47 .planes = 1, 55 .planes = 1, 63 .planes = 1, 70 .planes = 1, 78 .planes = 1, 86 .planes = 1, 94 .planes = 1, 102 .planes = 2, 110 .planes = 2, 118 .planes = 2, [all …]
|
| H A D | rcar_du_plane.c | 60 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc() 78 if (state->format->planes == 2) in rcar_du_plane_hwmask() 100 unsigned int num_planes = state->format->planes; in rcar_du_plane_hwalloc() 155 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check_planes() 165 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 181 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 208 struct rcar_du_plane *plane = &group->planes[i]; in rcar_du_atomic_check_planes() 228 plane - plane->group->planes); in rcar_du_atomic_check_planes() 238 plane - plane->group->planes, in rcar_du_atomic_check_planes() 240 new_plane_state->format->planes : 0, in rcar_du_atomic_check_planes() [all …]
|
| H A D | rcar_du_vsp.c | 245 for (i = 0; i < state->format->planes; ++i) in rcar_du_vsp_plane_setup() 454 struct rcar_du_vsp_plane *plane = &vsp->planes[i]; in rcar_du_vsp_cleanup() 459 kfree(vsp->planes); in rcar_du_vsp_cleanup() 491 vsp->planes = kzalloc_objs(*vsp->planes, num_planes); in rcar_du_vsp_init() 492 if (!vsp->planes) in rcar_du_vsp_init() 499 struct rcar_du_vsp_plane *plane = &vsp->planes[i]; in rcar_du_vsp_init()
|
| H A D | rcar_du_crtc.c | 343 struct rcar_du_plane *planes[RCAR_DU_NUM_HW_PLANES]; in rcar_du_crtc_update_planes() local 353 struct rcar_du_plane *plane = &rcrtc->group->planes[i]; in rcar_du_crtc_update_planes() 362 if (plane_zpos(planes[j-1]) <= plane_zpos(plane)) in rcar_du_crtc_update_planes() 364 planes[j] = planes[j-1]; in rcar_du_crtc_update_planes() 367 planes[j] = plane; in rcar_du_crtc_update_planes() 368 prio += plane_format(plane)->planes * 4; in rcar_du_crtc_update_planes() 372 struct rcar_du_plane *plane = planes[i]; in rcar_du_crtc_update_planes() 380 if (plane_format(plane)->planes == 2) { in rcar_du_crtc_update_planes() 929 struct drm_plane *plane = &rcrtc->vsp->planes[i].plane; in rcar_du_crtc_crc_init() 1067 if (index == rcrtc->vsp->planes[i].plane.base.id) in rcar_du_crtc_parse_crc_source() [all …]
|
| /linux/drivers/gpu/drm/renesas/rz-du/ |
| H A D | rzg2l_du_kms.c | 41 .planes = 1, 46 .planes = 1, 51 .planes = 1, 56 .planes = 1, 61 .planes = 1, 65 .planes = 1, 70 .planes = 1, 75 .planes = 1, 80 .planes = 1, 85 .planes = 1, [all …]
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-core.c | 236 unsigned long size = PAGE_ALIGN(vb->planes[plane].length); in __vb2_buf_mem_alloc() 239 if (size < vb->planes[plane].length) in __vb2_buf_mem_alloc() 253 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc() 260 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc() 261 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc() 275 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free() 276 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free() 291 if (vb->planes[plane].mem_priv) in __vb2_buf_userptr_put() 292 call_void_memop(vb, put_userptr, vb->planes[plane].mem_priv); in __vb2_buf_userptr_put() 293 vb->planes[plane].mem_priv = NULL; in __vb2_buf_userptr_put() [all …]
|
| /linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| H A D | frame.c | 166 frame_init_raw_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 172 frame_init_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 178 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 183 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 197 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 203 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 253 frame_init_single_plane(frame, &frame->planes.binary.data, in ia_css_frame_init_planes() 256 frame->planes.binary.size = 0; in ia_css_frame_init_planes() 525 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() 526 frame_init_plane(&frame->planes.nv.uv, uv_width, in frame_init_nv_planes() [all …]
|
| /linux/Documentation/gpu/amdgpu/display/ |
| H A D | mpo-overview.rst | 28 reports back the number of planes, CRTCs, and connectors. There are three types 29 of DRM planes that the driver can register and work with: 31 * ``DRM_PLANE_TYPE_PRIMARY``: Primary planes represent a "main" plane for a 32 CRTC, primary planes are the planes operated upon by CRTC modesetting and 34 * ``DRM_PLANE_TYPE_CURSOR``: Cursor planes represent a "cursor" plane for a 35 CRTC. Cursor planes are the planes operated upon by the cursor IOCTLs 36 * ``DRM_PLANE_TYPE_OVERLAY``: Overlay planes represent all non-primary, 37 non-cursor planes. Some drivers refer to these types of planes as "sprites" 41 following planes to userspace: 43 * 4 Primary planes (1 per CRTC). [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| H A D | sh_css_sp.c | 438 sp_frame_out->planes.raw.offset = frame_in->planes.raw.offset; in sh_css_copy_frame_to_spframe() 442 sp_frame_out->planes.rgb.offset = frame_in->planes.rgb.offset; in sh_css_copy_frame_to_spframe() 445 sp_frame_out->planes.planar_rgb.r.offset = in sh_css_copy_frame_to_spframe() 446 frame_in->planes.planar_rgb.r.offset; in sh_css_copy_frame_to_spframe() 447 sp_frame_out->planes.planar_rgb.g.offset = in sh_css_copy_frame_to_spframe() 448 frame_in->planes.planar_rgb.g.offset; in sh_css_copy_frame_to_spframe() 449 sp_frame_out->planes.planar_rgb.b.offset = in sh_css_copy_frame_to_spframe() 450 frame_in->planes.planar_rgb.b.offset; in sh_css_copy_frame_to_spframe() 457 sp_frame_out->planes.yuyv.offset = frame_in->planes.yuyv.offset; in sh_css_copy_frame_to_spframe() 466 sp_frame_out->planes.nv.y.offset = in sh_css_copy_frame_to_spframe() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | fb.c | 108 struct tegra_bo **planes, in tegra_fb_alloc() argument 122 fb->obj[i] = &planes[i]->gem; in tegra_fb_alloc() 140 struct tegra_bo *planes[4]; in tegra_fb_create() local 168 planes[i] = to_tegra_bo(gem); in tegra_fb_create() 171 fb = tegra_fb_alloc(drm, info, cmd, planes, i); in tegra_fb_create() 181 drm_gem_object_put(&planes[i]->gem); in tegra_fb_create()
|
| H A D | plane.c | 321 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add() 489 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc) in tegra_plane_format_is_yuv() argument 494 if (planes) in tegra_plane_format_is_yuv() 495 *planes = 1; in tegra_plane_format_is_yuv() 511 if (planes) in tegra_plane_format_is_yuv() 512 *planes = 3; in tegra_plane_format_is_yuv() 525 if (planes) in tegra_plane_format_is_yuv() 526 *planes = 2; in tegra_plane_format_is_yuv() 534 if (planes) in tegra_plane_format_is_yuv() 535 *planes = 1; in tegra_plane_format_is_yuv()
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_crtc.c | 197 struct drm_plane **planes; in sun4i_crtc_init() local 208 planes = sunxi_engine_layers_init(drm, engine); in sun4i_crtc_init() 209 if (IS_ERR(planes)) { in sun4i_crtc_init() 215 for (i = 0; planes[i]; i++) { in sun4i_crtc_init() 216 struct drm_plane *plane = planes[i]; in sun4i_crtc_init() 247 for (i = 0; planes[i]; i++) { in sun4i_crtc_init() 249 struct drm_plane *plane = planes[i]; in sun4i_crtc_init()
|
| H A D | sun4i_layer.c | 237 struct drm_plane **planes; in sun4i_layers_init() local 242 planes = devm_kcalloc(drm->dev, SUN4I_BACKEND_NUM_LAYERS + 1, in sun4i_layers_init() 243 sizeof(*planes), GFP_KERNEL); in sun4i_layers_init() 244 if (!planes) in sun4i_layers_init() 258 planes[i] = &layer->plane; in sun4i_layers_init() 261 return planes; in sun4i_layers_init()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-platform-sh_mobile_lcdc_fb | 6 to overlay planes. 17 to overlay planes. 30 to overlay planes. 40 to overlay planes.
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-yuv-planar.rst | 13 - Semi-planar formats use two planes. The first plane is the luma plane and 17 - Fully planar formats use three planes to store the Y, Cb and Cr components 22 the chroma planes may be constrained by the line stride of the luma plane. 24 Some planar formats allow planes to be placed in independent memory locations. 29 planes, formats require the planes to follow each other immediately in memory. 36 use two planes, and store the luma components in the first plane and the chroma 224 .. [2] Indicates if planes have to be contiguous in memory or can be 392 The layouts of the luma and chroma planes are identical. 401 planes are identical. 421 aligned to a multiple of 4. The layouts of the luma and chroma planes are [all …]
|
| H A D | dmabuf.rst | 31 DRM). Buffers (planes) are allocated by a driver on behalf of an 98 struct v4l2_plane planes[VIDEO_MAX_PLANES]; 105 buf.m.planes = planes; 108 memset(&planes, 0, sizeof planes); 111 buf.m.planes[i].m.fd = dmafd[i];
|
| /linux/include/media/ |
| H A D | videobuf2-core.h | 245 * @num_planes: number of planes in the buffer 277 * planes: per-plane information; do not change 290 struct vb2_plane planes[VB2_MAX_PLANES]; member 340 * in \*num_buffers, the required number of planes per 349 * describes the requested number of planes and sizes\[\] 452 * enough planes for the buffer. This is called 469 int (*fill_vb2_buffer)(struct vb2_buffer *vb, struct vb2_plane *planes); 795 * #) negotiates number of buffers and planes per buffer with the driver 818 * @requested_planes: number of planes requested. 819 * @requested_sizes: array with the size of the planes [all...] |
| /linux/drivers/media/platform/qcom/iris/ |
| H A D | iris_common.c | 19 buf->fd = vb2->planes[0].m.fd; in iris_vb2_buffer_to_driver() 20 buf->buffer_size = vb2->planes[0].length; in iris_vb2_buffer_to_driver() 21 buf->data_offset = vb2->planes[0].data_offset; in iris_vb2_buffer_to_driver() 22 buf->data_size = vb2->planes[0].bytesused - vb2->planes[0].data_offset; in iris_vb2_buffer_to_driver()
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_crtc.c | 49 struct drm_plane *planes; member 263 unsigned int local_index = plane - mtk_crtc->planes; in mtk_ddp_comp_for_plane() 305 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 317 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 418 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_hw_init() 511 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 535 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 579 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_update_config() 749 struct drm_plane *mtk_plane = &mtk_crtc->planes[i]; in mtk_crtc_plane_disable() 819 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_atomic_disable() [all …]
|
| /linux/drivers/gpu/drm/hisilicon/kirin/ |
| H A D | kirin_drm_drv.c | 37 struct kirin_plane planes[KIRIN_MAX_PLANE]; member 138 ret = kirin_drm_plane_init(dev, &kirin_priv->planes[ch].base, in kirin_drm_private_init() 142 kirin_priv->planes[ch].ch = ch; in kirin_drm_private_init() 143 kirin_priv->planes[ch].hw_ctx = ctx; in kirin_drm_private_init() 147 prim_plane = &kirin_priv->planes[driver_data->prim_plane].base; in kirin_drm_private_init()
|
| /linux/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
| H A D | ia_css_debug.c | 468 data + frame->planes.nv.y.offset); in ia_css_debug_frame_print() 470 data + frame->planes.nv.uv.offset); in ia_css_debug_frame_print() 478 data + frame->planes.yuyv.offset); in ia_css_debug_frame_print() 488 data + frame->planes.yuv.y.offset); in ia_css_debug_frame_print() 490 data + frame->planes.yuv.u.offset); in ia_css_debug_frame_print() 492 data + frame->planes.yuv.v.offset); in ia_css_debug_frame_print() 496 data + frame->planes.raw.offset); in ia_css_debug_frame_print() 500 data + frame->planes.raw.offset); in ia_css_debug_frame_print() 505 data + frame->planes.rgb.offset); in ia_css_debug_frame_print() 509 data + frame->planes.plane6.r.offset); in ia_css_debug_frame_print() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 57 struct plane planes[2]; member 90 struct plane *plane = &omap_fb->planes[n]; in get_linear_addr() 273 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 288 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 314 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_unpin() 423 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
|
| /linux/drivers/media/platform/amlogic/c3/isp/ |
| H A D | c3-isp-capture.c | 26 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X1, 36 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X2, 46 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X2, 56 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X2, 66 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X2, 78 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X1, 88 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X1, 98 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X1, 108 .planes = ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_X1, 166 ISP_WRMIFX3_0_FMT_CTRL_MTX_PLANE_MASK, info->planes); in c3_isp_cap_wrmifx3_format()
|