/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 | 59 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc() 77 if (state->format->planes == 2) in rcar_du_plane_hwmask() 99 unsigned int num_planes = state->format->planes; in rcar_du_plane_hwalloc() 154 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check_planes() 164 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 180 index = plane - plane->group->planes; in rcar_du_atomic_check_planes() 207 struct rcar_du_plane *plane = &group->planes[i]; in rcar_du_atomic_check_planes() 227 plane - plane->group->planes); in rcar_du_atomic_check_planes() 237 plane - plane->group->planes, in rcar_du_atomic_check_planes() 239 new_plane_state->format->planes : 0, in rcar_du_atomic_check_planes() [all …]
|
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() 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() 897 struct drm_plane *plane = &rcrtc->vsp->planes[i].plane; in rcar_du_crtc_crc_init() 1035 if (index == rcrtc->vsp->planes[i].plane.base.id) in rcar_du_crtc_parse_crc_source() [all …]
|
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/ |
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 …]
|
D | videobuf2-core.c | 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() 283 vb->planes[plane].mem_priv = NULL; in __vb2_buf_userptr_put() [all …]
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_atomic.h | 350 struct __drm_planes_state *planes; member 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() 666 if (state->planes[drm_plane_index(plane)].state) in __drm_atomic_get_current_plane_state() 667 return state->planes[drm_plane_index(plane)].state; in __drm_atomic_get_current_plane_state() 834 for_each_if ((__state)->planes[__i].ptr && \ 835 ((plane) = (__state)->planes[__i].ptr, \ 837 (old_plane_state) = (__state)->planes[__i].old_state,\ 838 (new_plane_state) = (__state)->planes[__i].new_state, 1)) [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() 719 frame_init_plane(&frame->planes.nv.y, y_width, y_stride, y_height, 0); in frame_init_nv_planes() [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/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() 209 for (i = 0; planes[i]; i++) { in sun4i_crtc_init() 210 struct drm_plane *plane = planes[i]; 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()
|
D | sun8i_mixer.c | 262 struct drm_plane **planes; in sun8i_layers_init() local 266 planes = devm_kcalloc(drm->dev, in sun8i_layers_init() 268 sizeof(*planes), GFP_KERNEL); in sun8i_layers_init() 269 if (!planes) in sun8i_layers_init() 282 planes[i] = &layer->plane; in sun8i_layers_init() 295 planes[mixer->cfg->vi_num + i] = &layer->plane; in sun8i_layers_init() 298 return planes; in sun8i_layers_init()
|
/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/drivers/gpu/drm/hisilicon/kirin/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
D | mtk_drm_crtc.c | 44 struct drm_plane *planes; member 223 unsigned int local_index = plane - mtk_crtc->planes; in mtk_drm_ddp_comp_for_plane() 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() 640 if (mtk_crtc->planes[i].type == DRM_PLANE_TYPE_PRIMARY) in mtk_drm_crtc_init() 641 primary = &mtk_crtc->planes[i]; in mtk_drm_crtc_init() 642 else if (mtk_crtc->planes[i].type == DRM_PLANE_TYPE_CURSOR) in mtk_drm_crtc_init() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
D | fb.c | 102 struct tegra_bo **planes, in tegra_fb_alloc() argument 116 fb->obj[i] = &planes[i]->gem; in tegra_fb_alloc() 134 struct tegra_bo *planes[4]; in tegra_fb_create() local 161 planes[i] = to_tegra_bo(gem); in tegra_fb_create() 164 fb = tegra_fb_alloc(drm, cmd, planes, i); in tegra_fb_create() 174 drm_gem_object_put(&planes[i]->gem); in tegra_fb_create()
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
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];
|
D | pixfmt-v4l2-mplane.rst | 8 and layout for each of the planes in a multi-planar format. The 10 information common to all planes (such as image width and height) and an 12 describing all planes of that format. 91 - Number of planes (i.e. separate memory buffers) for this format
|
D | pixfmt-nv16m.rst | 11 Variation of ``V4L2_PIX_FMT_NV16`` and ``V4L2_PIX_FMT_NV61`` with planes 19 three components are separated into two sub-images or planes. 21 two planes are non-contiguous in memory, i.e. the chroma plane does not
|
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 53 struct plane planes[2]; member 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() 391 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
|
/kernel/linux/linux-5.10/include/media/ |
D | videobuf2-core.h | 283 struct vb2_plane planes[VB2_MAX_PLANES]; member 460 int (*fill_vb2_buffer)(struct vb2_buffer *vb, struct vb2_plane *planes); 1149 vb->planes[plane_no].bytesused = size; in vb2_set_plane_payload() 1162 return vb->planes[plane_no].bytesused; in vb2_get_plane_payload() 1176 return vb->planes[plane_no].length; in vb2_plane_size()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/ |
D | ia_css_ref.host.c | 45 from->ref_frames[i]->planes.yuv.y.offset; in ia_css_ref_config() 47 from->ref_frames[i]->planes.yuv.u.offset; in ia_css_ref_config()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_atomic.c | 68 kfree(state->planes); in drm_atomic_state_default_release() 96 state->planes = kcalloc(dev->mode_config.num_total_plane, in drm_atomic_state_init() 97 sizeof(*state->planes), GFP_KERNEL); in drm_atomic_state_init() 98 if (!state->planes) in drm_atomic_state_init() 192 struct drm_plane *plane = state->planes[i].ptr; in drm_atomic_state_default_clear() 198 state->planes[i].state); in drm_atomic_state_default_clear() 199 state->planes[i].ptr = NULL; in drm_atomic_state_default_clear() 200 state->planes[i].state = NULL; in drm_atomic_state_default_clear() 201 state->planes[i].old_state = NULL; in drm_atomic_state_default_clear() 202 state->planes[i].new_state = NULL; in drm_atomic_state_default_clear() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sti/ |
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
|