Home
last modified time | relevance | path

Searched refs:plane (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/linux-6.12.1/drivers/gpu/drm/
Ddrm_plane.c188 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) in create_in_format_blob() argument
197 formats_size = sizeof(__u32) * plane->format_count; in create_in_format_blob()
204 sizeof(struct drm_format_modifier) * plane->modifier_count; in create_in_format_blob()
220 blob_data->count_formats = plane->format_count; in create_in_format_blob()
222 blob_data->count_modifiers = plane->modifier_count; in create_in_format_blob()
227 memcpy(formats_ptr(blob_data), plane->format_types, formats_size); in create_in_format_blob()
230 for (i = 0; i < plane->modifier_count; i++) { in create_in_format_blob()
231 for (j = 0; j < plane->format_count; j++) { in create_in_format_blob()
232 if (!plane->funcs->format_mod_supported || in create_in_format_blob()
233 plane->funcs->format_mod_supported(plane, in create_in_format_blob()
[all …]
Ddrm_blend.c219 int drm_plane_create_alpha_property(struct drm_plane *plane) in drm_plane_create_alpha_property() argument
223 prop = drm_property_create_range(plane->dev, 0, "alpha", in drm_plane_create_alpha_property()
228 drm_object_attach_property(&plane->base, prop, DRM_BLEND_ALPHA_OPAQUE); in drm_plane_create_alpha_property()
229 plane->alpha_property = prop; in drm_plane_create_alpha_property()
231 if (plane->state) in drm_plane_create_alpha_property()
232 plane->state->alpha = DRM_BLEND_ALPHA_OPAQUE; in drm_plane_create_alpha_property()
272 int drm_plane_create_rotation_property(struct drm_plane *plane, in drm_plane_create_rotation_property() argument
290 prop = drm_property_create_bitmask(plane->dev, 0, "rotation", in drm_plane_create_rotation_property()
296 drm_object_attach_property(&plane->base, prop, rotation); in drm_plane_create_rotation_property()
298 if (plane->state) in drm_plane_create_rotation_property()
[all …]
Ddrm_simple_kms_helper.c119 struct drm_plane *plane; in drm_simple_kms_crtc_enable() local
126 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
127 pipe->funcs->enable(pipe, crtc->state, plane->state); in drm_simple_kms_crtc_enable()
215 static int drm_simple_kms_plane_atomic_check(struct drm_plane *plane, in drm_simple_kms_plane_atomic_check() argument
219 plane); in drm_simple_kms_plane_atomic_check()
224 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
244 static void drm_simple_kms_plane_atomic_update(struct drm_plane *plane, in drm_simple_kms_plane_atomic_update() argument
248 plane); in drm_simple_kms_plane_atomic_update()
251 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
258 static int drm_simple_kms_plane_prepare_fb(struct drm_plane *plane, in drm_simple_kms_plane_prepare_fb() argument
[all …]
Ddrm_gem_atomic_helper.c135 int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, in drm_gem_plane_helper_prepare_fb() argument
218 __drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane, in __drm_gem_duplicate_shadow_plane_state() argument
221 struct drm_plane_state *plane_state = plane->state; in __drm_gem_duplicate_shadow_plane_state()
225 __drm_atomic_helper_plane_duplicate_state(plane, &new_shadow_plane_state->base); in __drm_gem_duplicate_shadow_plane_state()
250 drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane) in drm_gem_duplicate_shadow_plane_state() argument
252 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state()
261 __drm_gem_duplicate_shadow_plane_state(plane, new_shadow_plane_state); in drm_gem_duplicate_shadow_plane_state()
290 void drm_gem_destroy_shadow_plane_state(struct drm_plane *plane, in drm_gem_destroy_shadow_plane_state() argument
309 void __drm_gem_reset_shadow_plane(struct drm_plane *plane, in __drm_gem_reset_shadow_plane() argument
312 __drm_atomic_helper_plane_reset(plane, &shadow_plane_state->base); in __drm_gem_reset_shadow_plane()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dfb_decoder.c210 struct intel_vgpu_primary_plane_format *plane) in intel_vgpu_decode_primary_plane() argument
221 plane->enabled = !!(val & DISP_ENABLE); in intel_vgpu_decode_primary_plane()
222 if (!plane->enabled) in intel_vgpu_decode_primary_plane()
226 plane->tiled = val & PLANE_CTL_TILED_MASK; in intel_vgpu_decode_primary_plane()
238 plane->bpp = skl_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
239 plane->drm_format = skl_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
241 plane->tiled = val & DISP_TILED; in intel_vgpu_decode_primary_plane()
243 plane->bpp = bdw_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
244 plane->drm_format = bdw_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
247 if (!plane->bpp) { in intel_vgpu_decode_primary_plane()
[all …]
/linux-6.12.1/drivers/gpu/drm/virtio/
Dvirtgpu_plane.c77 static int virtio_gpu_plane_atomic_check(struct drm_plane *plane, in virtio_gpu_plane_atomic_check() argument
81 plane); in virtio_gpu_plane_atomic_check()
83 plane); in virtio_gpu_plane_atomic_check()
84 bool is_cursor = plane->type == DRM_PLANE_TYPE_CURSOR; in virtio_gpu_plane_atomic_check()
134 static void virtio_gpu_resource_flush(struct drm_plane *plane, in virtio_gpu_resource_flush() argument
138 struct drm_device *dev = plane->dev; in virtio_gpu_resource_flush()
143 vgfb = to_virtio_gpu_framebuffer(plane->state->fb); in virtio_gpu_resource_flush()
168 static void virtio_gpu_primary_plane_update(struct drm_plane *plane, in virtio_gpu_primary_plane_update() argument
172 plane); in virtio_gpu_primary_plane_update()
173 struct drm_device *dev = plane->dev; in virtio_gpu_primary_plane_update()
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
Doverlay.c113 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv10_update_plane() argument
120 struct nouveau_drm *drm = nouveau_drm(plane->dev); in nv10_update_plane()
123 container_of(plane, struct nouveau_plane, base); in nv10_update_plane()
192 nv10_disable_plane(struct drm_plane *plane, in nv10_disable_plane() argument
195 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object; in nv10_disable_plane()
197 container_of(plane, struct nouveau_plane, base); in nv10_disable_plane()
209 nv_destroy_plane(struct drm_plane *plane) in nv_destroy_plane() argument
211 drm_plane_force_disable(plane); in nv_destroy_plane()
212 drm_plane_cleanup(plane); in nv_destroy_plane()
213 kfree(plane); in nv_destroy_plane()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_atomic_plane.c56 struct intel_plane *plane) in intel_plane_state_reset() argument
60 __drm_atomic_helper_plane_state_reset(&plane_state->uapi, &plane->base); in intel_plane_state_reset()
68 struct intel_plane *plane; in intel_plane_alloc() local
70 plane = kzalloc(sizeof(*plane), GFP_KERNEL); in intel_plane_alloc()
71 if (!plane) in intel_plane_alloc()
76 kfree(plane); in intel_plane_alloc()
80 intel_plane_state_reset(plane_state, plane); in intel_plane_alloc()
82 plane->base.state = &plane_state->uapi; in intel_plane_alloc()
84 return plane; in intel_plane_alloc()
87 void intel_plane_free(struct intel_plane *plane) in intel_plane_free() argument
[all …]
Dskl_universal_plane_regs.h11 #define _SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument
12 _PLANE((plane), _PIPE((pipe), (reg_1_a), (reg_1_b)), _PIPE((pipe), (reg_2_a), (reg_2_b)))
13 #define _SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument
14 (_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b)) + (dw) * 4)
15 #define _MMIO_SKL_PLANE(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument
16 _MMIO(_SKL_PLANE((pipe), (plane), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b)))
17 #define _MMIO_SKL_PLANE_DW(pipe, plane, dw, reg_1_a, reg_1_b, reg_2_a, reg_2_b) \ argument
18 _MMIO(_SKL_PLANE_DW((pipe), (plane), (dw), (reg_1_a), (reg_1_b), (reg_2_a), (reg_2_b)))
20 #define _SEL_FETCH(pipe, plane, reg_1_a, reg_1_b, reg_2_a, reg_2_b, reg_5_a, reg_5_b, reg_6_a, reg_… argument
21 _PICK_EVEN_2RANGES((plane), PLANE_5, \
[all …]
Di9xx_plane.c137 static bool i9xx_plane_has_windowing(struct intel_plane *plane) in i9xx_plane_has_windowing() argument
139 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in i9xx_plane_has_windowing()
140 enum i9xx_plane_id i9xx_plane = plane->i9xx_plane; in i9xx_plane_has_windowing()
157 to_i915(plane_state->uapi.plane->dev); in i9xx_plane_ctl()
228 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in i9xx_check_plane_surface() local
229 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in i9xx_check_plane_surface()
270 unsigned int alignment = plane->min_alignment(plane, fb, 0); in i9xx_check_plane_surface()
324 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in i9xx_plane_check() local
334 i9xx_plane_has_windowing(plane)); in i9xx_plane_check()
419 static void i9xx_plane_update_noarm(struct intel_plane *plane, in i9xx_plane_update_noarm() argument
[all …]
Di9xx_plane_regs.h12 #define DSPADDR_VLV(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPAADDR_VLV) argument
15 #define DSPCNTR(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPACNTR) argument
49 #define DSPADDR(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPAADDR) argument
52 #define DSPLINOFF(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPALINOFF) argument
55 #define DSPSTRIDE(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPASTRIDE) argument
58 #define DSPPOS(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPAPOS) argument
65 #define DSPSIZE(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPASIZE) argument
72 #define DSPSURF(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPASURF) argument
76 #define DSPTILEOFF(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPATILEOFF) argument
83 #define DSPOFFSET(dev_priv, plane) _MMIO_PIPE2(dev_priv, plane, _DSPAOFFSET) argument
[all …]
Dintel_sprite.c69 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in chv_sprite_update_csc() local
70 struct intel_display *display = to_intel_display(plane->base.dev); in chv_sprite_update_csc()
72 enum plane_id plane_id = plane->id; in chv_sprite_update_csc()
141 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in vlv_sprite_update_clrc() local
142 struct intel_display *display = to_intel_display(plane->base.dev); in vlv_sprite_update_clrc()
144 enum pipe pipe = plane->pipe; in vlv_sprite_update_clrc()
145 enum plane_id plane_id = plane->id; in vlv_sprite_update_clrc()
256 static unsigned int vlv_sprite_min_alignment(struct intel_plane *plane, in vlv_sprite_min_alignment() argument
359 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in vlv_sprite_update_gamma() local
360 struct intel_display *display = to_intel_display(plane->base.dev); in vlv_sprite_update_gamma()
[all …]
Dskl_universal_plane.c466 plane_max_stride(struct intel_plane *plane, in plane_max_stride() argument
482 adl_plane_max_stride(struct intel_plane *plane, in adl_plane_max_stride() argument
489 return plane_max_stride(plane, pixel_format, in adl_plane_max_stride()
495 skl_plane_max_stride(struct intel_plane *plane, in skl_plane_max_stride() argument
502 return plane_max_stride(plane, pixel_format, in skl_plane_max_stride()
507 static u32 tgl_plane_min_alignment(struct intel_plane *plane, in tgl_plane_min_alignment() argument
511 struct drm_i915_private *i915 = to_i915(plane->base.dev); in tgl_plane_min_alignment()
554 static u32 skl_plane_min_alignment(struct intel_plane *plane, in skl_plane_min_alignment() argument
596 icl_program_input_csc(struct intel_plane *plane, in icl_program_input_csc() argument
600 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in icl_program_input_csc()
[all …]
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.h339 static inline u16 DISPC_OVL_BASE(enum omap_plane plane) in DISPC_OVL_BASE() argument
341 switch (plane) { in DISPC_OVL_BASE()
359 static inline u16 DISPC_BA0_OFFSET(enum omap_plane plane) in DISPC_BA0_OFFSET() argument
361 switch (plane) { in DISPC_BA0_OFFSET()
375 static inline u16 DISPC_BA1_OFFSET(enum omap_plane plane) in DISPC_BA1_OFFSET() argument
377 switch (plane) { in DISPC_BA1_OFFSET()
391 static inline u16 DISPC_BA0_UV_OFFSET(enum omap_plane plane) in DISPC_BA0_UV_OFFSET() argument
393 switch (plane) { in DISPC_BA0_UV_OFFSET()
411 static inline u16 DISPC_BA1_UV_OFFSET(enum omap_plane plane) in DISPC_BA1_UV_OFFSET() argument
413 switch (plane) { in DISPC_BA1_UV_OFFSET()
[all …]
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.h342 static inline u16 DISPC_OVL_BASE(enum omap_plane_id plane) in DISPC_OVL_BASE() argument
344 switch (plane) { in DISPC_OVL_BASE()
362 static inline u16 DISPC_BA0_OFFSET(enum omap_plane_id plane) in DISPC_BA0_OFFSET() argument
364 switch (plane) { in DISPC_BA0_OFFSET()
378 static inline u16 DISPC_BA1_OFFSET(enum omap_plane_id plane) in DISPC_BA1_OFFSET() argument
380 switch (plane) { in DISPC_BA1_OFFSET()
394 static inline u16 DISPC_BA0_UV_OFFSET(enum omap_plane_id plane) in DISPC_BA0_UV_OFFSET() argument
396 switch (plane) { in DISPC_BA0_UV_OFFSET()
414 static inline u16 DISPC_BA1_UV_OFFSET(enum omap_plane_id plane) in DISPC_BA1_UV_OFFSET() argument
416 switch (plane) { in DISPC_BA1_UV_OFFSET()
[all …]
/linux-6.12.1/drivers/gpu/drm/mediatek/
Dmtk_plane.c30 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset() argument
34 if (plane->state) { in mtk_plane_reset()
35 __drm_atomic_helper_plane_destroy_state(plane->state); in mtk_plane_reset()
37 state = to_mtk_plane_state(plane->state); in mtk_plane_reset()
45 __drm_atomic_helper_plane_reset(plane, &state->base); in mtk_plane_reset()
47 state->base.plane = plane; in mtk_plane_reset()
52 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state() argument
54 struct mtk_plane_state *old_state = to_mtk_plane_state(plane->state); in mtk_plane_duplicate_state()
61 __drm_atomic_helper_plane_duplicate_state(plane, &state->base); in mtk_plane_duplicate_state()
63 WARN_ON(state->base.plane != plane); in mtk_plane_duplicate_state()
[all …]
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_plane.c49 static int lsdc_primary_atomic_check(struct drm_plane *plane, in lsdc_primary_atomic_check() argument
52 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in lsdc_primary_atomic_check()
68 static void lsdc_primary_atomic_update(struct drm_plane *plane, in lsdc_primary_atomic_update() argument
71 struct lsdc_primary *primary = to_lsdc_primary(plane); in lsdc_primary_atomic_update()
73 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in lsdc_primary_atomic_update()
74 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in lsdc_primary_atomic_update()
88 static void lsdc_primary_atomic_disable(struct drm_plane *plane, in lsdc_primary_atomic_disable() argument
96 drm_dbg(plane->dev, "%s disabled\n", plane->name); in lsdc_primary_atomic_disable()
99 static int lsdc_plane_prepare_fb(struct drm_plane *plane, in lsdc_plane_prepare_fb() argument
114 drm_err(plane->dev, "bo %p reserve failed\n", lbo); in lsdc_plane_prepare_fb()
[all …]
/linux-6.12.1/drivers/gpu/drm/omapdrm/
Domap_plane.c45 static int omap_plane_prepare_fb(struct drm_plane *plane, in omap_plane_prepare_fb() argument
51 drm_gem_plane_helper_prepare_fb(plane, new_state); in omap_plane_prepare_fb()
56 static void omap_plane_cleanup_fb(struct drm_plane *plane, in omap_plane_cleanup_fb() argument
63 static void omap_plane_atomic_update(struct drm_plane *plane, in omap_plane_atomic_update() argument
66 struct omap_drm_private *priv = plane->dev->dev_private; in omap_plane_atomic_update()
68 plane); in omap_plane_atomic_update()
70 plane); in omap_plane_atomic_update()
90 DBG("[PLANE:%d:%s] no overlay attached", plane->base.id, plane->name); in omap_plane_atomic_update()
95 DBG("%s, crtc=%p fb=%p", plane->name, new_state->crtc, in omap_plane_atomic_update()
144 dev_err(plane->dev->dev, "Failed to setup plane %s\n", in omap_plane_atomic_update()
[all …]
/linux-6.12.1/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c274 atmel_hlcdc_plane_scaler_set_phicoeff(struct atmel_hlcdc_plane *plane, in atmel_hlcdc_plane_scaler_set_phicoeff() argument
281 atmel_hlcdc_layer_write_cfg(&plane->layer, cfg_offs + i, in atmel_hlcdc_plane_scaler_set_phicoeff()
286 void atmel_hlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, in atmel_hlcdc_plane_setup_scaler() argument
289 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_hlcdc_plane_setup_scaler()
296 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_setup_scaler()
310 atmel_hlcdc_plane_scaler_set_phicoeff(plane, in atmel_hlcdc_plane_setup_scaler()
317 atmel_hlcdc_plane_scaler_set_phicoeff(plane, in atmel_hlcdc_plane_setup_scaler()
328 atmel_hlcdc_layer_write_cfg(&plane->layer, desc->layout.scaler_config, in atmel_hlcdc_plane_setup_scaler()
335 void atmel_xlcdc_plane_setup_scaler(struct atmel_hlcdc_plane *plane, in atmel_xlcdc_plane_setup_scaler() argument
338 const struct atmel_hlcdc_layer_desc *desc = plane->layer.desc; in atmel_xlcdc_plane_setup_scaler()
[all …]
/linux-6.12.1/drivers/gpu/drm/renesas/rcar-du/
Drcar_du_plane.c96 static int rcar_du_plane_hwalloc(struct rcar_du_plane *plane, in rcar_du_plane_hwalloc() argument
106 if (plane->group->index != 0) in rcar_du_plane_hwalloc()
112 fixed = plane->group->index == 0 ? 1 : 0; in rcar_du_plane_hwalloc()
147 struct rcar_du_plane *plane; in rcar_du_atomic_check_planes() local
150 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes()
155 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check_planes()
165 index = plane - plane->group->planes; in rcar_du_atomic_check_planes()
166 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check_planes()
178 groups |= 1 << plane->group->index; in rcar_du_atomic_check_planes()
181 index = plane - plane->group->planes; in rcar_du_atomic_check_planes()
[all …]
/linux-6.12.1/drivers/gpu/drm/renesas/rz-du/
Drzg2l_du_vsp.c77 struct drm_plane *plane = NULL; in rzg2l_du_vsp_get_drm_plane() local
79 drm_for_each_plane(plane, &rcdu->ddev) { in rzg2l_du_vsp_get_drm_plane()
80 struct rzg2l_du_vsp_plane *vsp_plane = to_rzg2l_vsp_plane(plane); in rzg2l_du_vsp_get_drm_plane()
86 return plane ? plane : ERR_PTR(-EINVAL); in rzg2l_du_vsp_get_drm_plane()
117 static void rzg2l_du_vsp_plane_setup(struct rzg2l_du_vsp_plane *plane) in rzg2l_du_vsp_plane_setup() argument
120 to_rzg2l_vsp_plane_state(plane->plane.state); in rzg2l_du_vsp_plane_setup()
122 struct drm_framebuffer *fb = plane->plane.state->fb; in rzg2l_du_vsp_plane_setup()
171 vsp1_du_atomic_update(plane->vsp->vsp, crtc->vsp_pipe, in rzg2l_du_vsp_plane_setup()
172 plane->index, &cfg); in rzg2l_du_vsp_plane_setup()
175 static int __rzg2l_du_vsp_plane_atomic_check(struct drm_plane *plane, in __rzg2l_du_vsp_plane_atomic_check() argument
[all …]
/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun4i_layer.c19 static void sun4i_backend_layer_reset(struct drm_plane *plane) in sun4i_backend_layer_reset() argument
23 if (plane->state) { in sun4i_backend_layer_reset()
24 state = state_to_sun4i_layer_state(plane->state); in sun4i_backend_layer_reset()
29 plane->state = NULL; in sun4i_backend_layer_reset()
34 __drm_atomic_helper_plane_reset(plane, &state->state); in sun4i_backend_layer_reset()
38 sun4i_backend_layer_duplicate_state(struct drm_plane *plane) in sun4i_backend_layer_duplicate_state() argument
40 struct sun4i_layer_state *orig = state_to_sun4i_layer_state(plane->state); in sun4i_backend_layer_duplicate_state()
47 __drm_atomic_helper_plane_duplicate_state(plane, &copy->state); in sun4i_backend_layer_duplicate_state()
53 static void sun4i_backend_layer_destroy_state(struct drm_plane *plane, in sun4i_backend_layer_destroy_state() argument
63 static void sun4i_backend_layer_atomic_disable(struct drm_plane *plane, in sun4i_backend_layer_atomic_disable() argument
[all …]
/linux-6.12.1/include/drm/
Ddrm_plane.h56 struct drm_plane *plane; member
319 int (*update_plane)(struct drm_plane *plane,
342 int (*disable_plane)(struct drm_plane *plane,
352 void (*destroy)(struct drm_plane *plane);
364 void (*reset)(struct drm_plane *plane);
380 int (*set_property)(struct drm_plane *plane,
414 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
424 void (*atomic_destroy_state)(struct drm_plane *plane,
469 int (*atomic_set_property)(struct drm_plane *plane,
492 int (*atomic_get_property)(struct drm_plane *plane,
[all …]
/linux-6.12.1/drivers/gpu/drm/arm/display/komeda/
Dkomeda_plane.c20 struct komeda_plane *kplane = to_kplane(st->plane); in komeda_plane_init_data_flow()
32 st->plane->name, st->normalized_zpos, in komeda_plane_init_data_flow()
71 komeda_plane_atomic_check(struct drm_plane *plane, in komeda_plane_atomic_check() argument
75 plane); in komeda_plane_atomic_check()
76 struct komeda_plane *kplane = to_kplane(plane); in komeda_plane_atomic_check()
118 komeda_plane_atomic_update(struct drm_plane *plane, in komeda_plane_atomic_update() argument
128 static void komeda_plane_destroy(struct drm_plane *plane) in komeda_plane_destroy() argument
130 drm_plane_cleanup(plane); in komeda_plane_destroy()
132 kfree(to_kplane(plane)); in komeda_plane_destroy()
135 static void komeda_plane_reset(struct drm_plane *plane) in komeda_plane_reset() argument
[all …]
/linux-6.12.1/drivers/video/fbdev/
Dau1200fb.c152 int plane; member
702 static int au1200_setlocation (struct au1200fb_device *fbdev, int plane, in au1200_setlocation() argument
710 winctrl0 = lcd->window[plane].winctrl0; in au1200_setlocation()
711 winctrl1 = lcd->window[plane].winctrl1; in au1200_setlocation()
716 xsz = win->w[plane].xres; in au1200_setlocation()
717 ysz = win->w[plane].yres; in au1200_setlocation()
718 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation()
724 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
732 xsz = win->w[plane].xres + xpos; in au1200_setlocation()
733 fb_offset += (((0 - xpos) * winbpp(lcd->window[plane].winctrl1))/8); in au1200_setlocation()
[all …]

12345678910>>...18