/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/media/platform/sunxi/sun8i-rotate/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_kms.c | 42 .planes = 1, 50 .planes = 1, 58 .planes = 1, 65 .planes = 1, 73 .planes = 1, 81 .planes = 1, 89 .planes = 1, 97 .planes = 2, 105 .planes = 2, 113 .planes = 2, [all …]
|
D | rcar_du_plane.c | 3 * rcar_du_plane.c -- R-Car Display Unit Planes 32 * The core idea is to avoid using a free planes bitmask that would need to be 35 * over all plane states to compute the free planes bitmask, allocates hardware 36 * planes based on that bitmask, and stores the result back in the plane states. 38 * For this to work we need to access the current state of planes not touched by 40 * planes using drm_atomic_get_plane_state(). This effectively serializes atomic 54 * Lowering the number of planes doesn't strictly require reallocation in rcar_du_plane_needs_realloc() 59 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc() 62 /* Reallocate hardware planes if the source has changed. */ in rcar_du_plane_needs_realloc() 77 if (state->format->planes == 2) in rcar_du_plane_hwmask() [all …]
|
D | rcar_du_group.h | 3 * rcar_du_group.c -- R-Car Display Unit Planes and CRTCs Group 20 * struct rcar_du_group - CRTCs and planes group 30 * @dptsr_planes: bitmask of planes driven by dot-clock and timing generator 1 31 * @num_planes: number of planes in the group 32 * @planes: planes handled by the group 50 struct rcar_du_plane planes[RCAR_DU_NUM_KMS_PLANES]; member
|
D | rcar_du_plane.h | 3 * rcar_du_plane.h -- R-Car Display Unit Planes 19 * The RCAR DU has 8 hardware planes, shared between primary and overlay planes. 20 * As using overlay planes requires at least one of the CRTCs being enabled, no 21 * more than 7 overlay planes can be available. We thus create 1 primary plane 22 * per CRTC and 7 overlay planes, for a total of up to 9 KMS planes.
|
D | rcar_du_crtc.c | 342 struct rcar_du_plane *planes[RCAR_DU_NUM_HW_PLANES]; in rcar_du_crtc_update_planes() local 352 struct rcar_du_plane *plane = &rcrtc->group->planes[i]; in rcar_du_crtc_update_planes() 359 /* Insert the plane in the sorted planes array. */ in rcar_du_crtc_update_planes() 361 if (plane_zpos(planes[j-1]) <= plane_zpos(plane)) in rcar_du_crtc_update_planes() 363 planes[j] = planes[j-1]; in rcar_du_crtc_update_planes() 366 planes[j] = plane; in rcar_du_crtc_update_planes() 367 prio += plane_format(plane)->planes * 4; in rcar_du_crtc_update_planes() 371 struct rcar_du_plane *plane = planes[i]; in rcar_du_crtc_update_planes() 379 if (plane_format(plane)->planes == 2) { in rcar_du_crtc_update_planes() 400 * Update the planes to display timing and dot clock generator in rcar_du_crtc_update_planes() [all …]
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
D | videobuf2-v4l2.c | 61 * __verify_planes_array() - verify that the planes array passed in struct 70 if (b->m.planes == NULL) { in __verify_planes_array() 72 "multi-planar buffer passed but planes array not provided\n"); in __verify_planes_array() 78 "incorrect planes array length, expected %d, got %d\n", 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() [all …]
|
D | videobuf2-core.c | 222 * Allocate memory for all planes in this buffer in __vb2_buf_mem_alloc() 227 unsigned long size = PAGE_ALIGN(vb->planes[plane].length); in __vb2_buf_mem_alloc() 230 if (size < vb->planes[plane].length) in __vb2_buf_mem_alloc() 243 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc() 250 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc() 251 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc() 265 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free() 266 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free() 281 if (vb->planes[plane].mem_priv) in __vb2_buf_userptr_put() 282 call_void_memop(vb, put_userptr, vb->planes[plane].mem_priv); in __vb2_buf_userptr_put() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_plane.h | 144 * planes on the same CRTC have identical zpos values. This is a 157 * number of active planes for given crtc. Note that the driver must set 296 * with the frame buffer ID set to 0. Disabled planes must not be 521 * For historical reasons not all planes are made the same. This enumeration is 522 * used to tell the different types of planes apart to implement the different 524 * which is using that atomic IOCTL there's no difference between these planes 527 * For compatibility with legacy userspace, only overlay planes are made 540 * Overlay planes represent all non-primary, non-cursor planes. Some 541 * drivers refer to these types of planes as "sprites" internally. 548 * Primary planes represent a "main" plane for a CRTC. Primary planes [all …]
|
D | drm_atomic.h | 313 * @planes: pointer to array of structures with per-plane data 350 struct __drm_planes_state *planes; member 362 * Used for signaling unbound planes/connectors. 540 return state->planes[drm_plane_index(plane)].state; in drm_atomic_get_existing_plane_state() 555 return state->planes[drm_plane_index(plane)].old_state; in drm_atomic_get_old_plane_state() 570 return state->planes[drm_plane_index(plane)].new_state; in drm_atomic_get_new_plane_state() 644 * not change, state of other planes, since it avoids threading an error code 652 * example is when planes are fixed to a single CRTC, and the driver knows that 654 * read-lock on all planes connected to that CRTC. But if planes can be 666 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state() [all …]
|
D | drm_atomic_helper.h | 156 * drm_atomic_crtc_for_each_plane - iterate over planes currently attached to CRTC 158 * @crtc: the CRTC whose planes are iterated 162 * planes which *will* be attached (more useful in code called from 170 * drm_crtc_atomic_state_for_each_plane - iterate over attached planes in new state 174 * Similar to drm_crtc_for_each_plane(), but iterates the planes that will be 183 * drm_crtc_atomic_state_for_each_plane_state - iterate over attached planes in new state 188 * Similar to drm_crtc_for_each_plane(), but iterates the planes that will be 195 * active planes on this CRTC, but does not need to change it.
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
D | sun4i_crtc.c | 191 struct drm_plane **planes; in sun4i_crtc_init() local 202 planes = sunxi_engine_layers_init(drm, engine); in sun4i_crtc_init() 203 if (IS_ERR(planes)) { in sun4i_crtc_init() 204 dev_err(drm->dev, "Couldn't create the planes\n"); in sun4i_crtc_init() 208 /* find primary and cursor planes for drm_crtc_init_with_planes */ in sun4i_crtc_init() 209 for (i = 0; planes[i]; i++) { in sun4i_crtc_init() 210 struct drm_plane *plane = planes[i]; in sun4i_crtc_init() 240 /* Set possible_crtcs to this crtc for overlay planes */ in sun4i_crtc_init() 241 for (i = 0; planes[i]; i++) { in sun4i_crtc_init() 243 struct drm_plane *plane = planes[i]; in sun4i_crtc_init()
|
D | sun4i_layer.c | 234 struct drm_plane **planes; in sun4i_layers_init() local 239 planes = devm_kcalloc(drm->dev, SUN4I_BACKEND_NUM_LAYERS + 1, in sun4i_layers_init() 240 sizeof(*planes), GFP_KERNEL); in sun4i_layers_init() 241 if (!planes) in sun4i_layers_init() 256 planes[i] = &layer->plane; in sun4i_layers_init() 259 return planes; in sun4i_layers_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_blend.c | 132 * planes. Without this property the primary plane is always below the cursor 133 * plane, and ordering between all other planes is undefined. The positive 134 * Z axis points towards the user, i.e. planes with lower Z position values 135 * are underneath planes with higher Z position values. Two planes with the 138 * stacking of planes, see drm_plane_create_zpos_immutable_property(). If 140 * planes shall have a zpos property. 340 * for it in drm core. Drivers can then attach this property to planes to enable 341 * support for configurable planes arrangement during blending operation. 346 * should be set to 0 and max to maximal number of planes for given crtc - 1. 348 * If zpos of some planes cannot be changed (like fixed background or [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css_sp.c | 463 sp_frame_out->planes.raw.offset = frame_in->planes.raw.offset; in sh_css_copy_frame_to_spframe() 467 sp_frame_out->planes.rgb.offset = frame_in->planes.rgb.offset; in sh_css_copy_frame_to_spframe() 470 sp_frame_out->planes.planar_rgb.r.offset = in sh_css_copy_frame_to_spframe() 471 frame_in->planes.planar_rgb.r.offset; in sh_css_copy_frame_to_spframe() 472 sp_frame_out->planes.planar_rgb.g.offset = in sh_css_copy_frame_to_spframe() 473 frame_in->planes.planar_rgb.g.offset; in sh_css_copy_frame_to_spframe() 474 sp_frame_out->planes.planar_rgb.b.offset = in sh_css_copy_frame_to_spframe() 475 frame_in->planes.planar_rgb.b.offset; in sh_css_copy_frame_to_spframe() 482 sp_frame_out->planes.yuyv.offset = frame_in->planes.yuyv.offset; in sh_css_copy_frame_to_spframe() 491 sp_frame_out->planes.nv.y.offset = in sh_css_copy_frame_to_spframe() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 348 frame_init_mipi_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 354 frame_init_raw_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 360 frame_init_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 366 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 371 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 385 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 391 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 441 frame_init_single_plane(frame, &frame->planes.binary.data, in ia_css_frame_init_planes() 444 frame->planes.binary.size = 0; in ia_css_frame_init_planes() 472 all planes aligned, this means double the alignment for the in ia_css_frame_info_set_width() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | sticore.h | 84 s32 text_planes; /* number of planes used for text */ 103 u32 text : 1; /* turn on text display planes? */ 104 u32 nontext : 1; /* turn on non-text display planes? */ 105 u32 clear : 1; /* clear text display planes? */ 106 u32 cmap_blk : 1; /* non-text planes cmap black? */ 113 u32 init_cmap_tx : 1; /* initialize cmap for text planes */ 131 s32 text_planes; /* number of planes to use for text */ 138 s32 text_planes; /* number of planes used for text */ 172 s32 planes; /* number of fb planes in system */ member 270 u32 non_text : 1; /* font unpack/move in non_text planes =1, text =0 */ [all …]
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-platform-sh_mobile_lcdc_fb | 6 to overlay planes. 17 to overlay planes. 30 to overlay planes. 40 to overlay planes.
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
D | amlogic,meson-vpu.yaml | 35 It can handle 2 OSD Planes and 2 Video Planes. 41 various planes into a single pixel stream. 42 There is a special "pre-blending" used by the video planes with a dedicated 43 scaler and a "post-blending" to merge with the OSD Planes. 44 The OSD planes also have a dedicated scaler for one of the OSD.
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
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.offset); 195 the buffers and planes mapped so far. */
|
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];
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 30 * @planes: array of 4 drm_plane structures, one for each overlay plane 44 struct drm_plane *planes; member 223 unsigned int local_index = plane - mtk_crtc->planes; in mtk_drm_ddp_comp_for_plane() 315 /* Initially configure all planes */ in mtk_crtc_ddp_hw_init() 317 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_hw_init() 400 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 422 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config() 455 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_drm_crtc_hw_config() 557 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_drm_crtc_atomic_disable() 567 /* Wait for planes to be disabled */ in mtk_drm_crtc_atomic_disable() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 53 struct plane planes[2]; member 54 /* lock for pinning (pin_count and planes.dma_addr) */ 86 struct plane *plane = &omap_fb->planes[n]; in get_linear_addr() 238 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 253 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin() 279 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_unpin() 372 * The code below assumes that no format use more than two planes, and in omap_framebuffer_init() 373 * that the two planes of multiplane formats need the same number of in omap_framebuffer_init() 377 dev_dbg(dev->dev, "pitches differ between planes 0 and 1\n"); in omap_framebuffer_init() 391 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/ |
D | malidp_crtc.c | 79 /* always disable planes on the CRTC that is being turned off */ in malidp_crtc_atomic_disable() 349 * check if there is enough rotation memory available for planes in malidp_crtc_atomic_check() 350 * that need 90° and 270° rotion or planes that are compressed. in malidp_crtc_atomic_check() 356 * a. If no more rotated or compressed planes exist, all remaining in malidp_crtc_atomic_check() 358 * b. If other rotated or compressed planes exist, and plane's in malidp_crtc_atomic_check() 362 * c. If other rotated or compressed planes exist, and plane's layer ID in malidp_crtc_atomic_check() 365 * Note: this algorithm assumes that the order in which the planes are in malidp_crtc_atomic_check() 367 * rotated. Because that is how we create the planes in the first in malidp_crtc_atomic_check() 369 * in which drm_atomic_crtc_state_for_each_plane() iterates over planes in malidp_crtc_atomic_check() 370 * changes, we need to pre-sort the planes before validation. in malidp_crtc_atomic_check() [all …]
|