Searched refs:planes (Results 1 - 25 of 145) sorted by relevance

123456

/linux-master/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_formats.c17 .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
[all...]
H A Dsun8i-formats.h15 int planes; member in struct:rotate_format
/linux-master/drivers/media/test-drivers/vivid/
H A Dvivid-vid-common.c40 .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
[all...]
/linux-master/include/drm/
H A Ddrm_atomic.h412 * @planes:
417 struct __drm_planes_state *planes; member in struct:drm_atomic_state
461 * Used for signaling unbound planes/connectors.
648 return state->planes[drm_plane_index(plane)].state;
663 return state->planes[drm_plane_index(plane)].old_state;
678 return state->planes[drm_plane_index(plane)].new_state;
752 * not change, state of other planes, since it avoids threading an error code
760 * example is when planes are fixed to a single CRTC, and the driver knows that
762 * read-lock on all planes connected to that CRTC. But if planes ca
[all...]
/linux-master/drivers/gpu/drm/xlnx/
H A Dzynqmp_kms.h28 * @planes: The DRM planes
36 struct drm_plane planes[ZYNQMP_DPSUB_NUM_LAYERS]; member in struct:zynqmp_dpsub_drm
/linux-master/drivers/gpu/drm/mxsfb/
H A Dlcdif_drv.h29 /* i.MXRT does support overlay planes, add them here. */
30 } planes; member in struct:lcdif_drm_private
H A Dmxsfb_drv.h43 } planes; member in struct:mxsfb_drm_private
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c46 .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
[all...]
H A Drcar_du_group.h20 * 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 in struct:rcar_du_group
H A Drcar_du_kms.h27 unsigned int planes; member in struct:rcar_du_format_info
H A Drcar_du_plane.c33 * 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
60 old_state->format->planes != new_state->format->planes)
63 /* Reallocate hardware planes if the source has changed. */
78 if (state->format->planes
[all...]
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-v4l2.c61 * __verify_planes_array() - verify that the planes array passed in struct
70 if (b->m.planes == NULL) {
72 "multi-planar buffer passed but planes array not provided\n");
78 "incorrect planes array length, expected %d, got %d\n",
108 ? b->m.planes[plane].length
109 : vb->planes[plane].length;
110 bytesused = b->m.planes[plane].bytesused
111 ? b->m.planes[plane].bytesused : length;
113 if (b->m.planes[plane].bytesused > length)
116 if (b->m.planes[plan
180 struct vb2_plane *planes = vbuf->planes; local
588 __fill_vb2_buffer(struct vb2_buffer *vb, struct vb2_plane *planes) argument
[all...]
H A Dvideobuf2-core.c232 * Allocate memory for all planes in this buffer
237 unsigned long size = PAGE_ALIGN(vb->planes[plane].length);
240 if (size < vb->planes[plane].length)
254 vb->planes[plane].mem_priv = mem_priv;
261 call_void_memop(vb, put, vb->planes[plane - 1].mem_priv);
262 vb->planes[plane - 1].mem_priv = NULL;
276 call_void_memop(vb, put, vb->planes[plane].mem_priv);
277 vb->planes[plane].mem_priv = NULL;
292 if (vb->planes[plane].mem_priv)
293 call_void_memop(vb, put_userptr, vb->planes[plan
1211 struct vb2_plane planes[VB2_MAX_PLANES]; local
1327 struct vb2_plane planes[VB2_MAX_PLANES]; local
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c174 frame_init_raw_single_plane(frame, &frame->planes.raw,
180 frame_init_single_plane(frame, &frame->planes.raw,
186 frame_init_single_plane(frame, &frame->planes.rgb,
191 frame_init_single_plane(frame, &frame->planes.rgb,
205 frame_init_single_plane(frame, &frame->planes.yuyv,
211 frame_init_single_plane(frame, &frame->planes.yuyv,
261 frame_init_single_plane(frame, &frame->planes.binary.data,
264 frame->planes.binary.size = 0;
277 * all planes aligned, this means double the alignment for the
533 frame_init_plane(&frame->planes
[all...]
/linux-master/drivers/gpu/drm/tegra/
H A Dfb.c106 struct tegra_bo **planes,
120 fb->obj[i] = &planes[i]->gem;
138 struct tegra_bo *planes[4]; local
166 planes[i] = to_tegra_bo(gem);
169 fb = tegra_fb_alloc(drm, cmd, planes, i);
179 drm_gem_object_put(&planes[i]->gem);
104 tegra_fb_alloc(struct drm_device *drm, const struct drm_mode_fb_cmd2 *mode_cmd, struct tegra_bo **planes, unsigned int num_planes) argument
H A Dplane.h93 bool tegra_plane_format_is_yuv(unsigned int format, unsigned int *planes, unsigned int *bpc);
/linux-master/drivers/gpu/drm/tidss/
H A Dtidss_drv.h28 struct drm_plane *planes[TIDSS_MAX_PLANES]; member in struct:tidss_device
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.h27 unsigned int planes; member in struct:rzg2l_du_format_info
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_sp.c452 sp_frame_out->planes.raw.offset = frame_in->planes.raw.offset;
456 sp_frame_out->planes.rgb.offset = frame_in->planes.rgb.offset;
459 sp_frame_out->planes.planar_rgb.r.offset =
460 frame_in->planes.planar_rgb.r.offset;
461 sp_frame_out->planes.planar_rgb.g.offset =
462 frame_in->planes.planar_rgb.g.offset;
463 sp_frame_out->planes.planar_rgb.b.offset =
464 frame_in->planes
[all...]
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_crtc.c197 struct drm_plane **planes; local
208 planes = sunxi_engine_layers_init(drm, engine);
209 if (IS_ERR(planes)) {
210 dev_err(drm->dev, "Couldn't create the planes\n");
214 /* find primary and cursor planes for drm_crtc_init_with_planes */
215 for (i = 0; planes[i]; i++) {
216 struct drm_plane *plane = planes[i];
246 /* Set possible_crtcs to this crtc for overlay planes */
247 for (i = 0; planes[i]; i++) {
249 struct drm_plane *plane = planes[
[all...]
H A Dsun4i_layer.c237 struct drm_plane **planes; local
242 planes = devm_kcalloc(drm->dev, SUN4I_BACKEND_NUM_LAYERS + 1,
243 sizeof(*planes), GFP_KERNEL);
244 if (!planes)
258 planes[i] = &layer->plane;
261 return planes;
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/ref/ref_1.0/
H A Dia_css_ref.host.c46 from->ref_frames[i]->planes.yuv.y.offset;
48 from->ref_frames[i]->planes.yuv.u.offset;
/linux-master/include/media/
H A Dvideobuf2-core.h242 * @num_planes: number of planes in the buffer
274 * planes: per-plane information; do not change
287 struct vb2_plane planes[VB2_MAX_PLANES]; member in struct:vb2_buffer
337 * in \*num_buffers, the required number of planes per
346 * describes the requested number of planes and sizes\[\]
459 * enough planes for the buffer. This is called
476 int (*fill_vb2_buffer)(struct vb2_buffer *vb, struct vb2_plane *planes);
789 * #) negotiates number of buffers and planes per buffer with the driver
812 * @requested_planes: number of planes requested.
813 * @requested_sizes: array with the size of the planes
[all...]
/linux-master/drivers/gpu/drm/hisilicon/kirin/
H A Dkirin_drm_drv.c36 struct kirin_plane planes[KIRIN_MAX_PLANE]; member in struct:kirin_drm_private
129 * TODO: Now only support primary plane, overlay planes
137 ret = kirin_drm_plane_init(dev, &kirin_priv->planes[ch].base,
141 kirin_priv->planes[ch].ch = ch;
142 kirin_priv->planes[ch].hw_ctx = ctx;
146 prim_plane = &kirin_priv->planes[driver_data->prim_plane].base;
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/interface/
H A Dia_css_frame_comm.h105 } planes; member in struct:ia_css_frame_sp

Completed in 545 milliseconds

123456