| /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/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-v4l2.c | 70 if (b->m.planes == NULL) { in __verify_planes_array() 108 ? b->m.planes[plane].length in __verify_length() 109 : vb->planes[plane].length; in __verify_length() 110 bytesused = b->m.planes[plane].bytesused in __verify_length() 111 ? b->m.planes[plane].bytesused : length; in __verify_length() 113 if (b->m.planes[plane].bytesused > length) in __verify_length() 116 if (b->m.planes[plane].data_offset > 0 && in __verify_length() 117 b->m.planes[plane].data_offset >= bytesused) in __verify_length() 122 ? b->length : vb->planes[0].length; in __verify_length() 180 struct vb2_plane *planes = vbuf->planes; in vb2_fill_vb2_v4l2_buffer() local [all …]
|
| 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/include/drm/ |
| H A D | drm_atomic.h | 572 struct __drm_planes_state *planes; member 788 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state() 803 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state() 1128 for_each_if ((__state)->planes[__i].ptr && \ 1129 ((plane) = (__state)->planes[__i].ptr, \ 1131 (old_plane_state) = (__state)->planes[__i].old_state,\ 1132 (new_plane_state) = (__state)->planes[__i].new_state, 1)) 1151 for_each_if ((__state)->planes[__i].ptr && \ 1152 ((plane) = (__state)->planes[__i].ptr, \ 1153 (old_plane_state) = (__state)->planes[__i].old_state,\ [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/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];
|
| H A D | mmap.rst | 50 be equal to number of buffers times number of planes in each buffer. The 132 /* Our current format uses 3 planes per buffer */ 168 struct v4l2_plane planes[FMT_NUM_PLANES]; 175 * of planes array. */ 177 buffer.m.planes = planes; 186 buffers[i].length[j] = buffer.m.planes[j].length; /* remember for munmap() */ 188 buffers[i].start[j] = mmap(NULL, buffer.m.planes[j].length, 191 fd, buffer.m.planes[j].m.mem_offset); 195 the buffers and planes mapped so far. */
|
| H A D | pixfmt-v4l2-mplane.rst | 9 and layout for each of the planes in a multi-planar format. The 11 information common to all planes (such as image width and height) and an 13 describing all planes of that format. 92 - Number of planes (i.e. separate memory buffers) for this format
|
| /linux/include/media/ |
| H 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/tegra/ |
| 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/mediatek/ |
| H A D | mtk_crtc.c | 49 struct drm_plane *planes; member 262 unsigned int local_index = plane - mtk_crtc->planes; in mtk_ddp_comp_for_plane() 304 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 316 struct drm_plane *plane = &mtk_crtc->planes[i]; in ddp_cmdq_cb() 416 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_hw_init() 509 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 533 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 577 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_update_config() 746 struct drm_plane *mtk_plane = &mtk_crtc->planes[i]; in mtk_crtc_plane_disable() 814 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_atomic_disable() [all …]
|
| /linux/drivers/gpu/drm/renesas/rcar-du/ |
| 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 = 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/gpu/drm/sti/ |
| H A D | NOTES | 9 - The graphics planes are internally processed by the Generic Display 41 - The Framebuffers and planes are mapped to the Compositor GDP (non video 47 FB & planes Cursor CRTC Encoders Bridges/Connectors
|
| /linux/drivers/media/dvb-core/ |
| H A D | dvb_vb2.c | 139 b->length = vb->planes[0].length; in _fill_dmx_buffer() 140 b->bytesused = vb->planes[0].bytesused; in _fill_dmx_buffer() 141 b->offset = vb->planes[0].m.offset; in _fill_dmx_buffer() 145 static int _fill_vb2_buffer(struct vb2_buffer *vb, struct vb2_plane *planes) in _fill_vb2_buffer() argument 149 planes[0].bytesused = 0; in _fill_vb2_buffer()
|
| /linux/drivers/media/usb/go7007/ |
| H A D | go7007-driver.c | 383 if (vb && vb->vb.vb2_buf.planes[0].bytesused < GO7007_BUF_SIZE) { in store_byte() 386 ptr[vb->vb.vb2_buf.planes[0].bytesused++] = byte; in store_byte() 414 u32 *bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in go7007_motion_regions() 456 bytesused = &vb->vb.vb2_buf.planes[0].bytesused; in frame_boundary() 518 if (vb && vb->vb.vb2_buf.planes[0].bytesused >= in go7007_parse_video_stream() 602 vb->vb.vb2_buf.planes[0].bytesused; in go7007_parse_video_stream()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_atomic.c | 110 kfree(state->planes); in drm_atomic_state_default_release() 139 state->planes = kcalloc(dev->mode_config.num_total_plane, in drm_atomic_state_init() 140 sizeof(*state->planes), GFP_KERNEL); in drm_atomic_state_init() 141 if (!state->planes) in drm_atomic_state_init() 247 struct drm_plane *plane = state->planes[i].ptr; in drm_atomic_state_default_clear() 253 state->planes[i].state_to_destroy); in drm_atomic_state_default_clear() 254 state->planes[i].ptr = NULL; in drm_atomic_state_default_clear() 255 state->planes[i].state_to_destroy = NULL; in drm_atomic_state_default_clear() 256 state->planes[i].old_state = NULL; in drm_atomic_state_default_clear() 257 state->planes[i].new_state = NULL; in drm_atomic_state_default_clear() [all …]
|
| /linux/Documentation/gpu/ |
| H A D | afbc.rst | 82 420), can be encoded into one, or multiple, AFBC planes. As with 84 of planes in order to correctly decode the buffer. The fourcc code is 85 used to determine the number of encoded planes in an AFBC buffer, 86 matching the number of planes for the linear (unmodified) format.
|
| /linux/drivers/gpu/drm/tidss/ |
| H A D | tidss_irq.c | 83 struct drm_plane *plane = tidss->planes[i]; in tidss_irq_handler() 125 struct tidss_plane *tplane = to_tidss_plane(tidss->planes[i]); in tidss_irq_install()
|
| /linux/drivers/staging/media/starfive/camss/ |
| H A D | stf-capture.c | 21 .planes = 1, 28 .planes = 1, 35 .planes = 1, 42 .planes = 1, 52 .planes = 2,
|
| /linux/drivers/gpu/drm/vkms/ |
| H A D | vkms_config.h | 26 struct list_head planes; member 129 list_for_each_entry((plane_cfg), &(config)->planes, link)
|