| /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/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/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/gpu/drm/renesas/rcar-du/ |
| H A 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
|
| /linux/include/drm/ |
| H A D | drm_gem_atomic_helper.h | 21 * Helpers for planes with shadow buffers 27 * For drivers with shadow planes, the maximum width of the framebuffer is 36 * For drivers with shadow planes, the maximum height of the framebuffer is 43 * struct drm_shadow_plane_state - plane state for planes with shadow buffers 45 * For planes that use a shadow buffer, struct drm_shadow_plane_state 104 * Initializes struct drm_plane_funcs for shadow-buffered planes 119 * Initializes struct drm_plane_helper_funcs for shadow-buffered planes 141 * Initializes struct drm_simple_display_pipe_funcs for shadow-buffered planes
|
| /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() 269 * all planes aligned, this means double the alignment for the in ia_css_frame_pad_width() 525 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 259 * Sub-sampling is relevant for chroma planes only and vertical in tegra_plane_calculate_memory_bandwidth() 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() [all …]
|
| /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 | 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 | 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 | 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/video/ |
| H A D | sticore.h | 85 s32 text_planes; /* number of planes used for text */ 104 u32 text : 1; /* turn on text display planes? */ 105 u32 nontext : 1; /* turn on non-text display planes? */ 106 u32 clear : 1; /* clear text display planes? */ 107 u32 cmap_blk : 1; /* non-text planes cmap black? */ 114 u32 init_cmap_tx : 1; /* initialize cmap for text planes */ 132 s32 text_planes; /* number of planes to use for text */ 139 s32 text_planes; /* number of planes used for text */ 173 s32 planes; /* number of fb planes in system */ member 271 u32 non_text : 1; /* font unpack/move in non_text planes =1, text =0 */ [all …]
|
| /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/drivers/gpu/drm/vkms/ |
| H A D | vkms_config.h | 18 * @planes: List of planes configured for the device 26 struct list_head planes; member 36 * @link: Link to the others planes in vkms_config 124 * vkms_config_for_each_plane - Iterate over the vkms_config planes 129 list_for_each_entry((plane_cfg), &(config)->planes, link) 199 * @enable_overlay: Create or not overlay planes 244 * For example, a configuration without primary planes is not valid. 378 * Note that, if multiple primary planes are found, the first one is returned. 392 * Note that, if multiple cursor planes are found, the first one is returned.
|
| H A D | vkms_config.c | 25 INIT_LIST_HEAD(&config->planes); in vkms_config_create() 120 list_for_each_entry_safe(plane_cfg, plane_tmp, &config->planes, link) in vkms_config_destroy() 142 n_planes = list_count_nodes((struct list_head *)&config->planes); in valid_plane_number() 144 drm_info(dev, "The number of planes must be between 1 and 31\n"); in valid_plane_number() 172 drm_info(dev, "Multiple primary planes\n"); in valid_planes_for_crtc() 179 drm_info(dev, "Multiple cursor planes\n"); in valid_planes_for_crtc() 203 drm_info(dev, "All planes must have at least one possible CRTC\n"); in valid_plane_possible_crtcs() 400 list_add_tail(&plane_cfg->link, &config->planes); in vkms_config_create_plane() 485 * @crtc_cfg: Only find planes attached to this CRTC
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_crtc.c | 32 * @planes: array of 4 drm_plane structures, one for each overlay plane 48 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() 416 /* Initially configure all planes */ in mtk_crtc_ddp_hw_init() 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() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 57 struct plane planes[2]; member 58 /* lock for pinning (pin_count and planes.dma_addr) */ 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() 404 * The code below assumes that no format use more than two planes, and in omap_framebuffer_init() 405 * that the two planes of multiplane formats need the same number of in omap_framebuffer_init() 409 dev_dbg(dev->dev, "pitches differ between planes 0 and 1\n"); in omap_framebuffer_init() 423 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
|
| /linux/drivers/gpu/drm/xlnx/ |
| H A D | zynqmp_kms.h | 28 * @planes: The DRM planes 36 struct drm_plane planes[ZYNQMP_DPSUB_NUM_LAYERS]; member
|
| /linux/Documentation/fb/ |
| H A D | api.rst | 69 Macropixels are split across multiple planes. The number of planes is equal to 73 Planes are located contiguously in memory. 77 Macropixels are split across multiple planes. The number of planes is equal to 81 Planes are interleaved in memory. The interleave factor, defined as the 83 belonging to different planes, is stored in the fixed screen information 163 __u32 type_aux; /* Interleave for interleaved Planes */
|
| /linux/Documentation/gpu/ |
| H A D | afbc.rst | 78 Number of Planes 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. 123 - Planes/Components
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/tests/ |
| H A D | amdgpu_dm_plane_test.c | 289 * Verify if returned format counts match primary, overlay, and cursor planes. 321 * Verify if modifier list handling works for unsupported families and cursor planes. 391 dc->caps.planes[0].max_upscale_factor.nv12 = 1; in dm_test_get_min_max_dc_plane_scaling() 392 dc->caps.planes[0].max_downscale_factor.nv12 = 1; in dm_test_get_min_max_dc_plane_scaling() 393 dc->caps.planes[0].max_upscale_factor.argb8888 = 1600; in dm_test_get_min_max_dc_plane_scaling() 394 dc->caps.planes[0].max_downscale_factor.argb8888 = 250; in dm_test_get_min_max_dc_plane_scaling() 2232 dc->caps.planes[0].max_upscale_factor.fp16 = 2000; in dm_test_get_min_max_dc_plane_scaling_fp16() 2233 dc->caps.planes[0].max_downscale_factor.fp16 = 500; in dm_test_get_min_max_dc_plane_scaling_fp16() 2400 dc->caps.planes[0].max_upscale_factor.argb8888 = 1; in dm_test_helper_check_state_scaling_caps() 2401 dc->caps.planes[0].max_downscale_factor.argb8888 = 1; in dm_test_helper_check_state_scaling_caps() [all …]
|
| /linux/Documentation/userspace-api/ |
| H A D | dma-buf-alloc-exchange.rst | 43 planes. 57 planes or memory buffers depending on format and modifier. 106 planes. 116 and chroma YUV samples are stored in separate planes, where the chroma plane is 134 Some modifiers may modify the number of planes required for an image; for 162 calculations. This may be used to combine multiple planes into a single memory 286 ``DRM_FORMAT_NV12`` buffer. This will result in two memory planes (luma and 287 chroma) being dequeued by the user from V4L2. These planes are then exported to 383 descriptors for memory planes, DRM format tokens to describe the format, DRM
|
| /linux/drivers/video/fbdev/ |
| H A D | stifb.c | 20 * HPA4070A known as "HCRX", a 1280x1024 color device with 8 planes 21 * HPA4071A known as "HCRX24", a 1280x1024 color device with 24 planes, 23 * HPA1659A known as "CRX", a 1280x1024 color device with 8 planes 24 * HPA1439A known as "CRX24", a 1280x1024 color device with 24 planes, 26 * HPA1924A known as "GRX", a 1280x1024 grayscale device with 8 planes 27 * HPA2269A known as "Dual CRX", a 1280x1024 color device with 8 planes, 30 * supports 1280x1024 color displays with 8 planes. 34 * 1024x768 or 1280x1024 color displays on 8 planes (Artist) 518 * planes are display-enabled. (CRX24 uses Bt462 pixel in rattlerSetupPlanes() 519 * read mask register for overlay planes, not image planes). in rattlerSetupPlanes() [all …]
|
| /linux/drivers/gpu/drm/mxsfb/ |
| H A D | lcdif_drv.h | 29 /* i.MXRT does support overlay planes, add them here. */ 30 } planes; member
|
| /linux/include/uapi/linux/ |
| H A D | fb.h | 41 #define FB_TYPE_PLANES 1 /* Non interleaved planes */ 42 #define FB_TYPE_INTERLEAVED_PLANES 2 /* Interleaved planes */ 44 #define FB_TYPE_VGA_PLANES 4 /* EGA/VGA planes */ 60 #define FB_AUX_VGA_PLANES_VGA4 0 /* 16 color planes (EGA/VGA) */ 61 #define FB_AUX_VGA_PLANES_CFB4 1 /* CFB4 in planes (VGA) */ 62 #define FB_AUX_VGA_PLANES_CFB8 2 /* CFB8 in planes (VGA) */ 164 __u32 type_aux; /* Interleave for interleaved Planes */
|