| /linux/drivers/media/test-drivers/vivid/ |
| 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/ |
| 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/ |
| A D | rcar_du_kms.c | 46 .planes = 1, 54 .planes = 1, 62 .planes = 1, 69 .planes = 1, 77 .planes = 1, 85 .planes = 1, 93 .planes = 1, 101 .planes = 2, 109 .planes = 2, 117 .planes = 2, [all …]
|
| 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() 165 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 181 index = plane - plane->group->planes; 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() 347 if (state->format->planes == 2) in rcar_du_plane_setup_scanout() 389 if (state->format->planes == 2) { in rcar_du_plane_setup_scanout() 481 if (state->format->planes == 2) { in rcar_du_plane_setup_format_gen2() [all …]
|
| 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 = kcalloc(num_planes, sizeof(*vsp->planes), GFP_KERNEL); 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()
|
| /linux/drivers/media/common/videobuf2/ |
| A D | videobuf2-v4l2.c | 70 if (b->m.planes == NULL) { in __verify_planes_array() 180 struct vb2_plane *planes = vbuf->planes; in vb2_fill_vb2_v4l2_buffer() local 212 planes[plane].length = in vb2_fill_vb2_v4l2_buffer() 218 planes[plane].m.fd = in vb2_fill_vb2_v4l2_buffer() 220 planes[plane].length = in vb2_fill_vb2_v4l2_buffer() 292 planes[0].m.offset = vb->planes[0].m.offset; in vb2_fill_vb2_v4l2_buffer() 293 planes[0].length = vb->planes[0].length; in vb2_fill_vb2_v4l2_buffer() 598 planes[plane].m = vbuf->planes[plane].m; in __fill_vb2_buffer() 599 planes[plane].length = vbuf->planes[plane].length; in __fill_vb2_buffer() 601 planes[plane].bytesused = vbuf->planes[plane].bytesused; in __fill_vb2_buffer() [all …]
|
| A D | videobuf2-core.c | 1274 memset(planes, 0, sizeof(planes[0]) * vb->num_planes); in __prepare_userptr() 1285 && vb->planes[plane].length == planes[plane].length) in __prepare_userptr() 1337 vb->planes[plane].bytesused = planes[plane].bytesused; in __prepare_userptr() 1338 vb->planes[plane].length = planes[plane].length; in __prepare_userptr() 1390 memset(planes, 0, sizeof(planes[0]) * vb->num_planes); in __prepare_dmabuf() 1423 vb->planes[plane].length == planes[plane].length) in __prepare_dmabuf() 1445 if (planes[plane].dbuf == vb->planes[i].dbuf && in __prepare_dmabuf() 1448 vb->planes[plane].dbuf = vb->planes[i].dbuf; in __prepare_dmabuf() 1469 vb->planes[plane].dbuf = planes[plane].dbuf; in __prepare_dmabuf() 1496 vb->planes[plane].length = planes[plane].length; in __prepare_dmabuf() [all …]
|
| /linux/include/drm/ |
| A D | drm_atomic.h | 417 struct __drm_planes_state *planes; member 944 for_each_if ((__state)->planes[__i].ptr && \ 945 ((plane) = (__state)->planes[__i].ptr, \ 967 for_each_if ((__state)->planes[__i].ptr && \ 968 ((plane) = (__state)->planes[__i].ptr, \ 984 for_each_if ((__state)->planes[__i].ptr && \ 985 ((plane) = (__state)->planes[__i].ptr, \ 1003 for_each_if ((__state)->planes[__i].ptr && \ 1004 ((plane) = (__state)->planes[__i].ptr, \ 1021 for_each_if ((__state)->planes[__i].ptr && \ [all …]
|
| /linux/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| A D | frame.c | 180 frame_init_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 264 frame->planes.binary.size = 0; in ia_css_frame_init_planes() 534 frame_init_plane(&frame->planes.nv.uv, uv_width, in frame_init_nv_planes() 582 frame_init_plane(&frame->planes.planar_rgb.g, in frame_init_rgb_planes() 584 frame_init_plane(&frame->planes.planar_rgb.b, in frame_init_rgb_planes() 598 frame_init_plane(&frame->planes.plane6.r, in frame_init_qplane6_planes() 600 frame_init_plane(&frame->planes.plane6.r_at_b, in frame_init_qplane6_planes() 602 frame_init_plane(&frame->planes.plane6.gr, in frame_init_qplane6_planes() 604 frame_init_plane(&frame->planes.plane6.gb, in frame_init_qplane6_planes() 606 frame_init_plane(&frame->planes.plane6.b, in frame_init_qplane6_planes() [all …]
|
| /linux/Documentation/gpu/amdgpu/display/ |
| A D | mpo-overview.rst | 29 of DRM planes that the driver can register and work with: 32 CRTC, primary planes are the planes operated upon by CRTC modesetting and 35 CRTC. Cursor planes are the planes operated upon by the cursor IOCTLs 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). 44 * 4 Cursor planes (1 per CRTC). 48 planes. 81 * Only overlay planes have alpha blending support 112 strategy. This is a 2 planes configuration: [all …]
|
| /linux/drivers/staging/media/atomisp/pci/ |
| A D | sh_css_sp.c | 447 sp_frame_out->planes.raw.offset = frame_in->planes.raw.offset; in sh_css_copy_frame_to_spframe() 451 sp_frame_out->planes.rgb.offset = frame_in->planes.rgb.offset; in sh_css_copy_frame_to_spframe() 466 sp_frame_out->planes.yuyv.offset = frame_in->planes.yuyv.offset; in sh_css_copy_frame_to_spframe() 475 sp_frame_out->planes.nv.y.offset = in sh_css_copy_frame_to_spframe() 476 frame_in->planes.nv.y.offset; in sh_css_copy_frame_to_spframe() 477 sp_frame_out->planes.nv.uv.offset = in sh_css_copy_frame_to_spframe() 478 frame_in->planes.nv.uv.offset; in sh_css_copy_frame_to_spframe() 488 frame_in->planes.yuv.y.offset; in sh_css_copy_frame_to_spframe() 490 frame_in->planes.yuv.u.offset; in sh_css_copy_frame_to_spframe() 492 frame_in->planes.yuv.v.offset; in sh_css_copy_frame_to_spframe() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| A D | fb.c | 106 struct tegra_bo **planes, in tegra_fb_alloc() argument 120 fb->obj[i] = &planes[i]->gem; in tegra_fb_alloc() 138 struct tegra_bo *planes[4]; in tegra_fb_create() local 166 planes[i] = to_tegra_bo(gem); in tegra_fb_create() 169 fb = tegra_fb_alloc(drm, cmd, planes, i); in tegra_fb_create() 179 drm_gem_object_put(&planes[i]->gem); in tegra_fb_create()
|
| 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/ |
| 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()
|
| 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/ |
| 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/ |
| A D | pixfmt-yuv-planar.rst | 12 - Semi-planar formats use two planes. The first plane is the luma plane and 28 planes, formats require the planes to follow each other immediately in memory. 326 The layouts of the luma and chroma planes are identical. 335 planes are identical. 371 The layouts of the luma and chroma planes are identical. 374 two planes in one memory. 380 two non-contiguous planes. 401 The layouts of the luma and chroma planes are identical. 413 two planes in one memory. 947 .. [4] Order of luma and chroma planes [all …]
|
| 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/ |
| A D | videobuf2-core.h | 290 struct vb2_plane planes[VB2_MAX_PLANES]; member 479 int (*fill_vb2_buffer)(struct vb2_buffer *vb, struct vb2_plane *planes); 1231 if (WARN_ON_ONCE(size > vb->planes[plane_no].length)) in vb2_set_plane_payload() 1232 size = vb->planes[plane_no].length; in vb2_set_plane_payload() 1233 vb->planes[plane_no].bytesused = size; in vb2_set_plane_payload() 1247 return vb->planes[plane_no].bytesused; in vb2_get_plane_payload() 1261 return vb->planes[plane_no].length; in vb2_plane_size()
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| A D | i915-glk-fails.txt | 44 kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-5,Timeout 45 kms_pm_rpm@legacy-planes,Timeout 46 kms_pm_rpm@legacy-planes-dpms,Timeout 48 kms_pm_rpm@universal-planes,Timeout 49 kms_pm_rpm@universal-planes-dpms,Timeout
|
| A D | i915-apl-fails.txt | 35 kms_pm_rpm@legacy-planes,Timeout 36 kms_pm_rpm@legacy-planes-dpms,Timeout 38 kms_pm_rpm@universal-planes,Timeout 39 kms_pm_rpm@universal-planes-dpms,Timeout
|
| /linux/drivers/gpu/drm/hisilicon/kirin/ |
| A D | kirin_drm_drv.c | 36 struct kirin_plane planes[KIRIN_MAX_PLANE]; member 137 ret = kirin_drm_plane_init(dev, &kirin_priv->planes[ch].base, in kirin_drm_private_init() 141 kirin_priv->planes[ch].ch = ch; in kirin_drm_private_init() 142 kirin_priv->planes[ch].hw_ctx = ctx; in kirin_drm_private_init() 146 prim_plane = &kirin_priv->planes[driver_data->prim_plane].base; in kirin_drm_private_init()
|
| /linux/drivers/gpu/drm/mediatek/ |
| A D | mtk_crtc.c | 48 struct drm_plane *planes; member 296 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 308 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 403 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_hw_init() 496 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 564 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_update_config() 757 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_atomic_disable() 852 primary = &mtk_crtc->planes[i]; in mtk_crtc_init() 854 cursor = &mtk_crtc->planes[i]; in mtk_crtc_init() 911 &mtk_crtc->planes[mtk_crtc->layer_nr], in mtk_crtc_init_comp_planes() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| A D | omap_fb.c | 56 struct plane planes[2]; member 89 struct plane *plane = &omap_fb->planes[n]; in get_linear_addr() 272 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 287 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 313 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_unpin() 425 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
|
| /linux/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
| A D | ia_css_debug.c | 477 data + frame->planes.nv.y.offset); in ia_css_debug_frame_print() 479 data + frame->planes.nv.uv.offset); in ia_css_debug_frame_print() 487 data + frame->planes.yuyv.offset); in ia_css_debug_frame_print() 497 data + frame->planes.yuv.y.offset); in ia_css_debug_frame_print() 499 data + frame->planes.yuv.u.offset); in ia_css_debug_frame_print() 501 data + frame->planes.yuv.v.offset); in ia_css_debug_frame_print() 505 data + frame->planes.raw.offset); in ia_css_debug_frame_print() 509 data + frame->planes.raw.offset); in ia_css_debug_frame_print() 514 data + frame->planes.rgb.offset); in ia_css_debug_frame_print() 518 data + frame->planes.plane6.r.offset); in ia_css_debug_frame_print() [all …]
|