Home
last modified time | relevance | path

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

12345678910>>...15

/linux/drivers/gpu/drm/
A Ddrm_plane.c262 plane->base.properties = &plane->properties; in __drm_universal_plane_init()
462 ret = plane->funcs->late_register(plane); in drm_plane_register_all()
483 plane->funcs->early_unregister(plane); in drm_plane_unregister_all()
549 plane->funcs->atomic_destroy_state(plane, plane->state); in drm_plane_cleanup()
553 memset(plane, 0, sizeof(*plane)); in drm_plane_cleanup()
602 plane->old_fb = plane->fb; in drm_plane_force_disable()
706 if (plane->state && plane->state->fb) in drm_mode_getplane()
708 else if (!plane->state && plane->fb) in drm_mode_getplane()
857 plane->old_fb = plane->fb; in __setplane_internal()
874 plane->old_fb = plane->fb; in __setplane_internal()
[all …]
A Ddrm_blend.c231 if (plane->state) in drm_plane_create_alpha_property()
298 if (plane->state) in drm_plane_create_rotation_property()
383 if (plane->state) { in drm_plane_create_zpos_property()
384 plane->state->zpos = zpos; in drm_plane_create_zpos_property()
422 if (plane->state) { in drm_plane_create_zpos_immutable_property()
439 return sa->plane->base.id - sb->plane->base.id; in drm_atomic_state_zpos_cmp()
449 struct drm_plane *plane; in drm_atomic_helper_crtc_normalize_zpos() local
473 plane->base.id, plane->name, in drm_atomic_helper_crtc_normalize_zpos()
480 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos()
484 plane->base.id, plane->name, i); in drm_atomic_helper_crtc_normalize_zpos()
[all …]
A Ddrm_gem_atomic_helper.c226 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state()
282 void __drm_gem_reset_shadow_plane(struct drm_plane *plane, in __drm_gem_reset_shadow_plane() argument
298 void drm_gem_reset_shadow_plane(struct drm_plane *plane) in drm_gem_reset_shadow_plane() argument
302 if (plane->state) { in drm_gem_reset_shadow_plane()
303 drm_gem_destroy_shadow_plane_state(plane, plane->state); in drm_gem_reset_shadow_plane()
304 plane->state = NULL; /* must be set to NULL here */ in drm_gem_reset_shadow_plane()
310 __drm_gem_reset_shadow_plane(plane, shadow_plane_state); in drm_gem_reset_shadow_plane()
338 ret = drm_gem_plane_helper_prepare_fb(plane, plane_state); in drm_gem_prepare_shadow_fb()
403 drm_gem_cleanup_shadow_fb(&pipe->plane, plane_state); in drm_gem_simple_kms_cleanup_shadow_fb()
416 drm_gem_reset_shadow_plane(&pipe->plane); in drm_gem_simple_kms_reset_shadow_plane()
[all …]
A Ddrm_simple_kms_helper.c125 plane = &pipe->plane; in drm_simple_kms_crtc_enable()
218 plane); in drm_simple_kms_plane_atomic_check()
223 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_check()
247 plane); in drm_simple_kms_plane_atomic_update()
250 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_atomic_update()
262 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_prepare_fb()
280 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_cleanup_fb()
305 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_reset()
316 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_duplicate_state()
328 pipe = container_of(plane, struct drm_simple_display_pipe, plane); in drm_simple_kms_plane_destroy_state()
[all …]
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_plane.c73 kfree(plane); in virtio_gpu_plane_destroy()
89 plane); in virtio_gpu_plane_atomic_check()
170 plane); in virtio_gpu_primary_plane_update()
210 plane->state->crtc_w, plane->state->crtc_h, in virtio_gpu_primary_plane_update()
211 plane->state->crtc_x, plane->state->crtc_y, in virtio_gpu_primary_plane_update()
334 plane->state->fb ? plane->state->fb->hot_x : 0, in virtio_gpu_cursor_plane_update()
335 plane->state->fb ? plane->state->fb->hot_y : 0); in virtio_gpu_cursor_plane_update()
384 plane = kzalloc(sizeof(*plane), GFP_KERNEL); in virtio_gpu_plane_init()
385 if (!plane) in virtio_gpu_plane_init()
405 return plane; in virtio_gpu_plane_init()
[all …]
/linux/drivers/gpu/drm/i915/gvt/
A Dfb_decoder.c215 if (!plane->enabled) in intel_vgpu_decode_primary_plane()
240 if (!plane->bpp) { in intel_vgpu_decode_primary_plane()
251 plane->base_gpa = intel_vgpu_gma_to_gpa(vgpu->gtt.ggtt_mm, plane->base); in intel_vgpu_decode_primary_plane()
254 plane->base); in intel_vgpu_decode_primary_plane()
258 plane->stride = intel_vgpu_get_stride(vgpu, pipe, plane->tiled, in intel_vgpu_decode_primary_plane()
265 plane->width += 1; in intel_vgpu_decode_primary_plane()
347 if (!plane->enabled) in intel_vgpu_decode_cursor_plane()
356 plane->mode = mode; in intel_vgpu_decode_cursor_plane()
377 plane->base); in intel_vgpu_decode_cursor_plane()
425 if (!plane->enabled) in intel_vgpu_decode_sprite_plane()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
A Doverlay.c213 kfree(plane); in nv_destroy_plane()
222 (cos_mul(plane->hue, plane->saturation) & 0xffff); in nv10_set_params()
286 if (!plane) in nv10_overlay_init()
325 plane->props.colorkey, plane->colorkey); in nv10_overlay_init()
329 plane->props.contrast, plane->contrast); in nv10_overlay_init()
333 plane->props.brightness, plane->brightness); in nv10_overlay_init()
337 plane->props.hue, plane->hue); in nv10_overlay_init()
341 plane->props.saturation, plane->saturation); in nv10_overlay_init()
475 if (!plane) in nv04_overlay_init()
495 plane->props.colorkey, plane->colorkey); in nv04_overlay_init()
[all …]
/linux/drivers/gpu/drm/omapdrm/
A Domap_plane.c51 plane); in omap_plane_atomic_update()
97 plane); in omap_plane_atomic_disable()
111 plane); in omap_plane_atomic_check()
160 drm_plane_cleanup(plane); in omap_plane_destroy()
181 if (plane->rotation_property && obj != &plane->base) in omap_plane_install_properties()
194 if (!plane->state) in omap_plane_reset()
201 plane->state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY in omap_plane_reset()
285 struct drm_plane *plane; in omap_plane_init() local
309 plane = &omap_plane->base; in omap_plane_init()
319 omap_plane_install_properties(plane, &plane->base); in omap_plane_init()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_atomic_plane.c62 plane = kzalloc(sizeof(*plane), GFP_KERNEL); in intel_plane_alloc()
63 if (!plane) in intel_plane_alloc()
68 kfree(plane); in intel_plane_alloc()
76 return plane; in intel_plane_alloc()
81 intel_plane_destroy_state(&plane->base, plane->base.state); in intel_plane_free()
82 kfree(plane); in intel_plane_free()
257 plane->base.base.id, plane->base.name, in intel_plane_calc_min_cdclk()
463 return plane; in skl_next_plane_to_commit()
481 plane->async_flip(plane, crtc_state, plane_state, true); in intel_update_plane()
483 plane->update_plane(plane, crtc_state, plane_state); in intel_update_plane()
[all …]
A Di9xx_plane.c326 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in i9xx_plane_check() local
675 *pipe = plane->pipe; in i9xx_plane_get_hw_state()
776 if (IS_ERR(plane)) in intel_primary_plane_create()
777 return plane; in intel_primary_plane_create()
779 plane->pipe = pipe; in intel_primary_plane_create()
790 plane->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, plane->id); in intel_primary_plane_create()
792 plane->has_fbc = i9xx_plane_has_fbc(dev_priv, plane->i9xx_plane); in intel_primary_plane_create()
793 if (plane->has_fbc) { in intel_primary_plane_create()
917 return plane; in intel_primary_plane_create()
920 intel_plane_free(plane); in intel_primary_plane_create()
[all …]
/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_plane.c38 if (plane->state) { in mtk_plane_reset()
47 plane->state = &state->base; in mtk_plane_reset()
50 state->base.plane = plane; in mtk_plane_reset()
65 WARN_ON(state->base.plane != plane); in mtk_plane_duplicate_state()
83 plane); in mtk_plane_atomic_async_check()
90 if (!plane->state) in mtk_plane_atomic_async_check()
93 if (!plane->state->fb) in mtk_plane_atomic_async_check()
146 plane); in mtk_plane_atomic_async_update()
178 plane); in mtk_plane_atomic_check()
210 plane); in mtk_plane_atomic_disable()
[all …]
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A Ddispc.h341 switch (plane) { in DISPC_OVL_BASE()
361 switch (plane) { in DISPC_BA0_OFFSET()
377 switch (plane) { in DISPC_BA1_OFFSET()
393 switch (plane) { in DISPC_BA0_UV_OFFSET()
413 switch (plane) { in DISPC_BA1_UV_OFFSET()
433 switch (plane) { in DISPC_POS_OFFSET()
448 switch (plane) { in DISPC_SIZE_OFFSET()
464 switch (plane) { in DISPC_ATTR_OFFSET()
481 switch (plane) { in DISPC_ATTR2_OFFSET()
501 switch (plane) { in DISPC_FIFO_THRESH_OFFSET()
[all …]
/linux/drivers/gpu/drm/omapdrm/dss/
A Ddispc.h344 switch (plane) { in DISPC_OVL_BASE()
364 switch (plane) { in DISPC_BA0_OFFSET()
380 switch (plane) { in DISPC_BA1_OFFSET()
396 switch (plane) { in DISPC_BA0_UV_OFFSET()
416 switch (plane) { in DISPC_BA1_UV_OFFSET()
436 switch (plane) { in DISPC_POS_OFFSET()
451 switch (plane) { in DISPC_SIZE_OFFSET()
467 switch (plane) { in DISPC_ATTR_OFFSET()
484 switch (plane) { in DISPC_ATTR2_OFFSET()
504 switch (plane) { in DISPC_FIFO_THRESH_OFFSET()
[all …]
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_plane.c154 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()
211 s = drm_atomic_get_plane_state(state, &plane->plane); 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()
265 plane->group->index, plane - plane->group->planes); in rcar_du_atomic_check_planes()
686 rcar_du_plane_atomic_destroy_state(plane, plane->state); in rcar_du_plane_reset()
788 drm_plane_helper_add(&plane->plane, in rcar_du_planes_init()
791 drm_plane_create_alpha_property(&plane->plane); in rcar_du_planes_init()
[all …]
A Drcar_du_vsp.c153 to_rcar_vsp_plane_state(plane->plane.state); in rcar_du_vsp_plane_setup()
155 struct drm_framebuffer *fb = plane->plane.state->fb; in rcar_du_vsp_plane_setup()
298 plane); in rcar_du_vsp_plane_atomic_check()
356 rcar_du_vsp_plane_atomic_destroy_state(plane, plane->state); in rcar_du_vsp_plane_reset()
385 drm_plane_cleanup(&plane->plane); in rcar_du_vsp_cleanup()
434 plane->vsp = vsp; in rcar_du_vsp_init()
437 ret = drm_universal_plane_init(&rcdu->ddev, &plane->plane, in rcar_du_vsp_init()
445 drm_plane_helper_add(&plane->plane, in rcar_du_vsp_init()
449 drm_plane_create_zpos_immutable_property(&plane->plane, in rcar_du_vsp_init()
452 drm_plane_create_alpha_property(&plane->plane); in rcar_du_vsp_init()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_plane.c757 drm_state[i] = i ? plane->r1 : plane->r0; in dpu_plane_validate_multirect_v2()
1041 if (!plane || !plane->state) { in dpu_plane_flush()
1076 if (!plane) in dpu_plane_set_error()
1292 if (!plane) { in dpu_plane_duplicate_state()
1332 dpu_plane_destroy_state(plane, plane->state); in dpu_plane_reset()
1376 if (plane->fb && plane->state) { in _dpu_plane_set_danger_state()
1379 plane->base.id, plane->fb->width, in _dpu_plane_set_danger_state()
1386 plane->state->crtc_x, plane->state->crtc_y, in _dpu_plane_set_danger_state()
1387 plane->state->crtc_w, plane->state->crtc_h); in _dpu_plane_set_danger_state()
1558 return plane ? to_dpu_plane(plane)->pipe : SSPP_NONE; in dpu_plane_pipe()
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_plane.c75 plane); in komeda_plane_atomic_check()
130 drm_plane_cleanup(plane); in komeda_plane_destroy()
132 kfree(to_kplane(plane)); in komeda_plane_destroy()
140 if (plane->state) in komeda_plane_reset()
143 kfree(plane->state); in komeda_plane_reset()
144 plane->state = NULL; in komeda_plane_reset()
154 plane->state = &state->base; in komeda_plane_reset()
155 plane->state->plane = plane; in komeda_plane_reset()
164 if (WARN_ON(!plane->state)) in komeda_plane_atomic_duplicate_state()
255 struct drm_plane *plane; in komeda_plane_add() local
[all …]
/linux/include/drm/
A Ddrm_plane.h54 struct drm_plane *plane; member
298 int (*update_plane)(struct drm_plane *plane,
321 int (*disable_plane)(struct drm_plane *plane,
331 void (*destroy)(struct drm_plane *plane);
343 void (*reset)(struct drm_plane *plane);
359 int (*set_property)(struct drm_plane *plane,
759 struct drm_plane *plane,
768 struct drm_plane *plane,
826 return plane->index; in drm_plane_index()
835 return 1 << drm_plane_index(plane); in drm_plane_mask()
[all …]
/linux/drivers/gpu/drm/sun4i/
A Dsun4i_layer.c24 if (plane->state) { in sun4i_backend_layer_reset()
25 state = state_to_sun4i_layer_state(plane->state); in sun4i_backend_layer_reset()
30 plane->state = NULL; in sun4i_backend_layer_reset()
36 plane->state->zpos = layer->id; in sun4i_backend_layer_reset()
70 plane); in sun4i_backend_layer_atomic_disable()
90 plane); in sun4i_backend_layer_atomic_update()
100 sun4i_frontend_update_coord(frontend, plane); in sun4i_backend_layer_atomic_update()
101 sun4i_frontend_update_buffer(frontend, plane); in sun4i_backend_layer_atomic_update()
102 sun4i_frontend_update_formats(frontend, plane, in sun4i_backend_layer_atomic_update()
225 drm_plane_helper_add(&layer->plane, in sun4i_layer_init_one()
[all …]
/linux/drivers/gpu/drm/sti/
A Dsti_plane.c21 switch (plane->desc) { in sti_plane_to_str()
53 fps = &plane->fps_info; in sti_plane_update_fps()
76 plane->drm_plane.name, in sti_plane_update_fps()
81 sti_plane_to_str(plane)); in sti_plane_update_fps()
89 snprintf(plane->fps_info.fips_str, in sti_plane_update_fps()
93 plane->fps_info.fips_str[0] = '\0'; in sti_plane_update_fps()
98 plane->fps_info.fps_str, in sti_plane_update_fps()
99 plane->fps_info.fips_str); in sti_plane_update_fps()
117 drm_atomic_helper_plane_reset(plane); in sti_plane_reset()
118 plane->state->zpos = sti_plane_get_default_zpos(plane->type); in sti_plane_reset()
[all …]
/linux/drivers/gpu/drm/tegra/
A Dplane.c22 drm_plane_cleanup(plane); in tegra_plane_destroy()
32 if (plane->state) in tegra_plane_reset()
35 kfree(plane->state); in tegra_plane_reset()
36 plane->state = NULL; in tegra_plane_reset()
40 plane->state = &state->base; in tegra_plane_reset()
41 plane->state->plane = plane; in tegra_plane_reset()
588 struct drm_plane *plane; in tegra_plane_check_transparency() local
606 plane); in tegra_plane_check_transparency()
619 WARN_ON(plane == other); in tegra_plane_get_overlap_index()
622 if (i == plane->index) in tegra_plane_get_overlap_index()
[all …]
/linux/drivers/gpu/drm/atmel-hlcdc/
A Datmel_hlcdc_plane.c294 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_setup_scaler()
344 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_pos_and_size()
411 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_format()
454 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_plane_update_buffers()
485 struct drm_plane *plane; in atmel_hlcdc_plane_prepare_ahb_routing() local
582 layout = &plane->layer.desc->layout; in atmel_hlcdc_plane_update_disc_area()
955 struct atmel_hlcdc_plane *plane; in atmel_hlcdc_plane_create() local
959 plane = devm_kzalloc(dev->dev, sizeof(*plane), GFP_KERNEL); in atmel_hlcdc_plane_create()
960 if (!plane) in atmel_hlcdc_plane_create()
980 drm_plane_helper_add(&plane->base, in atmel_hlcdc_plane_create()
[all …]
/linux/drivers/video/fbdev/
A Dau1200fb.c152 int plane; member
939 int plane = fbdev->plane; in au1200_setmode() local
946 au1200_setlocation(fbdev, plane, win->w[plane].xpos, win->w[plane].ypos); in au1200_setmode()
1043 plane = fbdev->plane; in au1200fb_fb_check_var()
1418 int plane; in au1200fb_ioctl() local
1668 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_probe()
1688 fbdev->plane = plane; in au1200fb_drv_probe()
1721 if (plane == 0) in au1200fb_drv_probe()
1748 for (plane = 0; plane < device_count; ++plane) { in au1200fb_drv_probe()
1769 int plane; in au1200fb_drv_remove() local
[all …]
/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_plane.c89 if (plane->state) in mdp5_plane_reset()
161 struct drm_plane *plane = state->plane; in mdp5_plane_atomic_check_with_state() local
281 plane->name); in mdp5_plane_atomic_check_with_state()
313 plane); in mdp5_plane_atomic_check()
315 plane); in mdp5_plane_atomic_check()
335 plane); in mdp5_plane_atomic_update()
354 plane); in mdp5_plane_atomic_async_check()
410 plane); in mdp5_plane_atomic_async_update()
1006 mdp5_plane_install_properties(plane, &plane->base); in mdp5_plane_init()
1010 return plane; in mdp5_plane_init()
[all …]
/linux/drivers/media/common/videobuf2/
A Dvideobuf2-core.c225 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_alloc()
265 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_mem_free()
281 for (plane = 0; plane < vb->num_planes; ++plane) { in __vb2_buf_userptr_put()
315 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_dmabuf_put()
331 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_prepare()
347 for (plane = 0; plane < vb->num_planes; ++plane) in __vb2_buf_mem_finish()
368 for (plane = 0; plane < vb->num_planes; ++plane) { in __setup_offsets()
434 for (plane = 0; plane < num_planes; ++plane) { in __vb2_queue_alloc()
620 for (plane = 0; plane < vb->num_planes; ++plane) { in vb2_buffer_in_use()
1122 for (plane = 0; plane < vb->num_planes; ++plane) { in __prepare_userptr()
[all …]

Completed in 99 milliseconds

12345678910>>...15