| /kernel/linux/linux-6.6/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/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-6.6/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-6.6/Documentation/gpu/amdgpu/display/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/ |
| 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 …]
|
| D | rcar_du_plane.c | 3 * R-Car Display Unit Planes 33 * The core idea is to avoid using a free planes bitmask that would need to be 36 * over all plane states to compute the free planes bitmask, allocates hardware 37 * planes based on that bitmask, and stores the result back in the plane states. 39 * For this to work we need to access the current state of planes not touched by 41 * planes using drm_atomic_get_plane_state(). This effectively serializes atomic 55 * Lowering the number of planes doesn't strictly require reallocation in rcar_du_plane_needs_realloc() 60 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc() 63 /* Reallocate hardware planes if the source has changed. */ in rcar_du_plane_needs_realloc() 78 if (state->format->planes == 2) in rcar_du_plane_hwmask() [all …]
|
| D | rcar_du_group.h | 3 * 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 * 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.
|
| /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.
|
| /kernel/linux/linux-6.6/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() 244 vb->planes[plane].mem_priv = mem_priv; in __vb2_buf_mem_alloc() 251 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv); in __vb2_buf_mem_alloc() 252 vb->planes[plane - 1].mem_priv = NULL; in __vb2_buf_mem_alloc() 266 call_void_memop(vb, put, vb->planes[plane].mem_priv); in __vb2_buf_mem_free() 267 vb->planes[plane].mem_priv = NULL; in __vb2_buf_mem_free() 282 if (vb->planes[plane].mem_priv) in __vb2_buf_userptr_put() 283 call_void_memop(vb, put_userptr, vb->planes[plane].mem_priv); in __vb2_buf_userptr_put() [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-6.6/include/drm/ |
| D | drm_gem_atomic_helper.h | 20 * Helpers for planes with shadow buffers 26 * For drivers with shadow planes, the maximum width of the framebuffer is 35 * For drivers with shadow planes, the maximum height of the framebuffer is 42 * struct drm_shadow_plane_state - plane state for planes with shadow buffers 44 * For planes that use a shadow buffer, struct drm_shadow_plane_state 94 * Initializes struct drm_plane_funcs for shadow-buffered planes 109 * Initializes struct drm_plane_helper_funcs for shadow-buffered planes 131 * Initializes struct drm_simple_display_pipe_funcs for shadow-buffered planes
|
| /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 …]
|
| /kernel/linux/linux-6.6/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. 347 * for it in drm core. Drivers can then attach this property to planes to enable 348 * support for configurable planes arrangement during blending operation. 353 * should be set to 0 and max to maximal number of planes for given crtc - 1. 355 * If zpos of some planes cannot be changed (like fixed background or [all …]
|
| /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/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()
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
| D | frame.c | 174 frame_init_raw_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 180 frame_init_single_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes() 186 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 191 frame_init_single_plane(frame, &frame->planes.rgb, in ia_css_frame_init_planes() 205 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 211 frame_init_single_plane(frame, &frame->planes.yuyv, in ia_css_frame_init_planes() 261 frame_init_single_plane(frame, &frame->planes.binary.data, in ia_css_frame_init_planes() 264 frame->planes.binary.size = 0; in ia_css_frame_init_planes() 277 * all planes aligned, this means double the alignment for the in ia_css_frame_pad_width() 533 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | pixfmt-yuv-planar.rst | 12 - Semi-planar formats use two planes. The first plane is the luma plane and 16 - Fully planar formats use three planes to store the Y, Cb and Cr components 21 the chroma planes may be constrained by the line stride of the luma plane. 23 Some planar formats allow planes to be placed in independent memory locations. 28 planes, formats require the planes to follow each other immediately in memory. 35 use two planes, and store the luma components in the first plane and the chroma 195 .. [2] Indicates if planes have to be contiguous in memory or can be 314 The layouts of the luma and chroma planes are identical. 323 planes are identical. 327 aligned to a multiple of 4. The layouts of the luma and chroma planes are [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
| 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() 210 dev_err(drm->dev, "Couldn't create the planes\n"); in sun4i_crtc_init() 214 /* find primary and cursor planes for drm_crtc_init_with_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() 246 /* Set possible_crtcs to this crtc for overlay planes */ 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()
|