Home
last modified time | relevance | path

Searched refs:drm_plane (Results 1 – 25 of 170) sorted by relevance

1234567

/Linux-v4.19/include/drm/
Ddrm_plane.h46 struct drm_plane *plane;
243 int (*update_plane)(struct drm_plane *plane,
266 int (*disable_plane)(struct drm_plane *plane,
276 void (*destroy)(struct drm_plane *plane);
288 void (*reset)(struct drm_plane *plane);
304 int (*set_property)(struct drm_plane *plane,
338 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
348 void (*atomic_destroy_state)(struct drm_plane *plane,
393 int (*atomic_set_property)(struct drm_plane *plane,
416 int (*atomic_get_property)(struct drm_plane *plane,
[all …]
Ddrm_plane_helper.h41 int drm_plane_helper_check_update(struct drm_plane *plane,
52 int drm_primary_helper_update(struct drm_plane *plane,
60 int drm_primary_helper_disable(struct drm_plane *plane,
62 void drm_primary_helper_destroy(struct drm_plane *plane);
65 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc,
72 int drm_plane_helper_disable(struct drm_plane *plane,
76 int drm_plane_helper_commit(struct drm_plane *plane,
Ddrm_blend.h32 struct drm_plane;
41 int drm_plane_create_alpha_property(struct drm_plane *plane);
42 int drm_plane_create_rotation_property(struct drm_plane *plane,
48 int drm_plane_create_zpos_property(struct drm_plane *plane,
51 int drm_plane_create_zpos_immutable_property(struct drm_plane *plane,
Ddrm_modeset_helper_vtables.h1043 int (*prepare_fb)(struct drm_plane *plane,
1054 void (*cleanup_fb)(struct drm_plane *plane,
1093 int (*atomic_check)(struct drm_plane *plane,
1111 void (*atomic_update)(struct drm_plane *plane,
1135 void (*atomic_disable)(struct drm_plane *plane,
1154 int (*atomic_async_check)(struct drm_plane *plane,
1185 void (*atomic_async_update)(struct drm_plane *plane,
1194 static inline void drm_plane_helper_add(struct drm_plane *plane, in drm_plane_helper_add()
Ddrm_atomic_helper.h108 int drm_atomic_helper_update_plane(struct drm_plane *plane,
116 int drm_atomic_helper_disable_plane(struct drm_plane *plane,
118 int __drm_atomic_helper_disable_plane(struct drm_plane *plane,
159 void drm_atomic_helper_plane_reset(struct drm_plane *plane);
160 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane,
163 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane);
165 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h78 enum dpu_sspp dpu_plane_pipe(struct drm_plane *plane);
86 bool is_dpu_plane_virtual(struct drm_plane *plane);
94 void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl,
101 void dpu_plane_restore(struct drm_plane *plane);
107 void dpu_plane_flush(struct drm_plane *plane);
113 void dpu_plane_kickoff(struct drm_plane *plane);
119 void dpu_plane_set_error(struct drm_plane *plane, bool error);
132 struct drm_plane *dpu_plane_init(struct drm_device *dev,
155 int dpu_plane_wait_input_fence(struct drm_plane *plane, uint32_t wait_ms);
164 int dpu_plane_color_fill(struct drm_plane *plane,
[all …]
Ddpu_plane.c90 struct drm_plane base;
124 static struct dpu_kms *_dpu_plane_get_kms(struct drm_plane *plane) in _dpu_plane_get_kms()
153 static inline int _dpu_plane_calc_fill_level(struct drm_plane *plane, in _dpu_plane_calc_fill_level()
239 static void _dpu_plane_set_qos_lut(struct drm_plane *plane, in _dpu_plane_set_qos_lut()
300 static void _dpu_plane_set_danger_lut(struct drm_plane *plane, in _dpu_plane_set_danger_lut()
371 static void _dpu_plane_set_qos_ctrl(struct drm_plane *plane, in _dpu_plane_set_qos_ctrl()
424 int dpu_plane_danger_signal_ctrl(struct drm_plane *plane, bool enable) in dpu_plane_danger_signal_ctrl()
460 static void _dpu_plane_set_ot_limit(struct drm_plane *plane, in _dpu_plane_set_ot_limit()
505 static void _dpu_plane_set_qos_remap(struct drm_plane *plane) in _dpu_plane_set_qos_remap()
572 static inline void _dpu_plane_set_scanout(struct drm_plane *plane, in _dpu_plane_set_scanout()
[all …]
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_cursor.c181 static int sti_cursor_atomic_check(struct drm_plane *drm_plane, in sti_cursor_atomic_check() argument
184 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_check()
246 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_check()
252 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, in sti_cursor_atomic_update() argument
255 struct drm_plane_state *state = drm_plane->state; in sti_cursor_atomic_update()
256 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update()
306 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, in sti_cursor_atomic_disable() argument
309 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable()
313 drm_plane->base.id); in sti_cursor_atomic_disable()
320 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_disable()
[all …]
Dsti_plane.c43 struct drm_plane_state *state = plane->drm_plane.state; in sti_plane_update_fps()
74 plane->drm_plane.name, in sti_plane_update_fps()
113 void sti_plane_reset(struct drm_plane *plane) in sti_plane_reset()
119 static void sti_plane_attach_zorder_property(struct drm_plane *drm_plane, in sti_plane_attach_zorder_property() argument
127 drm_plane_create_zpos_property(drm_plane, zpos, 0, 6); in sti_plane_attach_zorder_property()
130 drm_plane_create_zpos_immutable_property(drm_plane, zpos); in sti_plane_attach_zorder_property()
138 sti_plane_attach_zorder_property(&plane->drm_plane, type); in sti_plane_init_property()
141 plane->drm_plane.base.id, sti_plane_to_str(plane)); in sti_plane_init_property()
Dsti_gdp.c213 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() local
216 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
217 crtc = drm_plane->state->crtc; in gdp_dbg_show()
218 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
612 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
615 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
683 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
692 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
695 struct drm_plane_state *state = drm_plane->state; in sti_gdp_atomic_update()
696 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update()
[all …]
Dsti_plane.h14 #define to_sti_plane(x) container_of(x, struct sti_plane, drm_plane)
72 struct drm_plane drm_plane; member
85 void sti_plane_reset(struct drm_plane *plane);
Dsti_hqvdp.c1013 static int sti_hqvdp_atomic_check(struct drm_plane *drm_plane, in sti_hqvdp_atomic_check() argument
1016 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_check()
1094 drm_plane->base.id, sti_plane_to_str(plane)); in sti_hqvdp_atomic_check()
1103 static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane, in sti_hqvdp_atomic_update() argument
1106 struct drm_plane_state *state = drm_plane->state; in sti_hqvdp_atomic_update()
1107 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_update()
1234 static void sti_hqvdp_atomic_disable(struct drm_plane *drm_plane, in sti_hqvdp_atomic_disable() argument
1237 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_disable()
1241 drm_plane->base.id); in sti_hqvdp_atomic_disable()
1248 drm_plane->base.id, sti_plane_to_str(plane)); in sti_hqvdp_atomic_disable()
[all …]
/Linux-v4.19/drivers/gpu/drm/omapdrm/
Domap_plane.c32 struct drm_plane base;
37 static int omap_plane_prepare_fb(struct drm_plane *plane, in omap_plane_prepare_fb()
46 static void omap_plane_cleanup_fb(struct drm_plane *plane, in omap_plane_cleanup_fb()
53 static void omap_plane_atomic_update(struct drm_plane *plane, in omap_plane_atomic_update()
93 static void omap_plane_atomic_disable(struct drm_plane *plane, in omap_plane_atomic_disable()
106 static int omap_plane_atomic_check(struct drm_plane *plane, in omap_plane_atomic_check()
150 static void omap_plane_destroy(struct drm_plane *plane) in omap_plane_destroy()
162 void omap_plane_install_properties(struct drm_plane *plane, in omap_plane_install_properties()
185 static void omap_plane_reset(struct drm_plane *plane) in omap_plane_reset()
201 static int omap_plane_atomic_set_property(struct drm_plane *plane, in omap_plane_atomic_set_property()
[all …]
Domap_plane.h29 struct drm_plane;
31 struct drm_plane *omap_plane_init(struct drm_device *dev,
34 void omap_plane_install_properties(struct drm_plane *plane,
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c24 struct drm_plane base;
52 static void mdp4_plane_set_scanout(struct drm_plane *plane,
54 static int mdp4_plane_mode_set(struct drm_plane *plane,
61 static struct mdp4_kms *get_kms(struct drm_plane *plane) in get_kms()
67 static void mdp4_plane_destroy(struct drm_plane *plane) in mdp4_plane_destroy()
78 static void mdp4_plane_install_properties(struct drm_plane *plane, in mdp4_plane_install_properties()
84 static int mdp4_plane_set_property(struct drm_plane *plane, in mdp4_plane_set_property()
101 static void mdp4_plane_cleanup_fb(struct drm_plane *plane, in mdp4_plane_cleanup_fb()
117 static int mdp4_plane_atomic_check(struct drm_plane *plane, in mdp4_plane_atomic_check()
123 static void mdp4_plane_atomic_update(struct drm_plane *plane, in mdp4_plane_atomic_update()
[all …]
/Linux-v4.19/drivers/gpu/drm/armada/
Darmada_plane.h6 int armada_drm_plane_prepare_fb(struct drm_plane *plane,
8 void armada_drm_plane_cleanup_fb(struct drm_plane *plane,
10 int armada_drm_plane_atomic_check(struct drm_plane *plane,
13 struct drm_plane *primary);
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h226 struct drm_plane primary;
227 struct drm_plane cursor;
362 void vmw_du_primary_plane_destroy(struct drm_plane *plane);
363 void vmw_du_cursor_plane_destroy(struct drm_plane *plane);
366 int vmw_du_primary_plane_atomic_check(struct drm_plane *plane,
368 int vmw_du_cursor_plane_atomic_check(struct drm_plane *plane,
370 void vmw_du_cursor_plane_atomic_update(struct drm_plane *plane,
372 int vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane,
374 void vmw_du_plane_cleanup_fb(struct drm_plane *plane,
376 void vmw_du_plane_reset(struct drm_plane *plane);
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_atomic_plane.c49 intel_create_plane_state(struct drm_plane *plane) in intel_create_plane_state()
73 intel_plane_duplicate_state(struct drm_plane *plane) in intel_plane_duplicate_state()
102 intel_plane_destroy_state(struct drm_plane *plane, in intel_plane_destroy_state()
115 struct drm_plane *plane = intel_state->base.plane; in intel_plane_atomic_check_with_state()
196 static int intel_plane_atomic_check(struct drm_plane *plane, in intel_plane_atomic_check()
218 static void intel_plane_atomic_update(struct drm_plane *plane, in intel_plane_atomic_update()
263 intel_plane_atomic_get_property(struct drm_plane *plane, in intel_plane_atomic_get_property()
286 intel_plane_atomic_set_property(struct drm_plane *plane, in intel_plane_atomic_set_property()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c35 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset()
55 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
73 static void mtk_drm_plane_destroy_state(struct drm_plane *plane, in mtk_drm_plane_destroy_state()
89 static int mtk_plane_atomic_check(struct drm_plane *plane, in mtk_plane_atomic_check()
111 static void mtk_plane_atomic_update(struct drm_plane *plane, in mtk_plane_atomic_update()
146 static void mtk_plane_atomic_disable(struct drm_plane *plane, in mtk_plane_atomic_disable()
162 int mtk_plane_init(struct drm_device *dev, struct drm_plane *plane, in mtk_plane_init()
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_layer.c22 static void sun4i_backend_layer_reset(struct drm_plane *plane) in sun4i_backend_layer_reset()
46 sun4i_backend_layer_duplicate_state(struct drm_plane *plane) in sun4i_backend_layer_duplicate_state()
61 static void sun4i_backend_layer_destroy_state(struct drm_plane *plane, in sun4i_backend_layer_destroy_state()
71 static void sun4i_backend_layer_atomic_disable(struct drm_plane *plane, in sun4i_backend_layer_atomic_disable()
89 static void sun4i_backend_layer_atomic_update(struct drm_plane *plane, in sun4i_backend_layer_atomic_update()
178 struct drm_plane **sun4i_layers_init(struct drm_device *drm, in sun4i_layers_init()
181 struct drm_plane **planes; in sun4i_layers_init()
Dsun4i_layer.h19 struct drm_plane plane;
32 plane_to_sun4i_layer(struct drm_plane *plane) in plane_to_sun4i_layer()
43 struct drm_plane **sun4i_layers_init(struct drm_device *drm,
Dsun4i_frontend.h70 struct drm_plane;
93 struct drm_plane *plane);
95 struct drm_plane *plane);
97 struct drm_plane *plane, uint32_t out_fmt);
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c25 static int fsl_dcu_drm_plane_index(struct drm_plane *plane) in fsl_dcu_drm_plane_index()
39 static int fsl_dcu_drm_plane_atomic_check(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_check()
63 static void fsl_dcu_drm_plane_atomic_disable(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_disable()
79 static void fsl_dcu_drm_plane_atomic_update(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_update()
173 static void fsl_dcu_drm_plane_destroy(struct drm_plane *plane) in fsl_dcu_drm_plane_destroy()
211 struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev) in fsl_dcu_drm_primary_create_plane()
213 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane()
/Linux-v4.19/drivers/gpu/drm/rcar-du/
Drcar_du_plane.c141 struct drm_plane *drm_plane; in rcar_du_atomic_check_planes() local
146 for_each_oldnew_plane_in_state(state, drm_plane, old_drm_plane_state, in rcar_du_atomic_check_planes()
153 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes()
255 for_each_oldnew_plane_in_state(state, drm_plane, old_drm_plane_state, in rcar_du_atomic_check_planes()
264 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes()
569 int __rcar_du_plane_atomic_check(struct drm_plane *plane, in __rcar_du_plane_atomic_check()
613 static int rcar_du_plane_atomic_check(struct drm_plane *plane, in rcar_du_plane_atomic_check()
621 static void rcar_du_plane_atomic_update(struct drm_plane *plane, in rcar_du_plane_atomic_update()
655 rcar_du_plane_atomic_duplicate_state(struct drm_plane *plane) in rcar_du_plane_atomic_duplicate_state()
673 static void rcar_du_plane_atomic_destroy_state(struct drm_plane *plane, in rcar_du_plane_atomic_destroy_state()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c23 struct drm_plane base;
30 static int mdp5_plane_mode_set(struct drm_plane *plane,
34 static struct mdp5_kms *get_kms(struct drm_plane *plane) in get_kms()
45 static void mdp5_plane_destroy(struct drm_plane *plane) in mdp5_plane_destroy()
56 struct drm_plane *plane) in mdp5_plane_install_rotation_property()
67 static void mdp5_plane_install_properties(struct drm_plane *plane, in mdp5_plane_install_properties()
108 static int mdp5_plane_atomic_set_property(struct drm_plane *plane, in mdp5_plane_atomic_set_property()
136 static int mdp5_plane_atomic_get_property(struct drm_plane *plane, in mdp5_plane_atomic_get_property()
183 static void mdp5_plane_reset(struct drm_plane *plane) in mdp5_plane_reset()
208 mdp5_plane_duplicate_state(struct drm_plane *plane) in mdp5_plane_duplicate_state()
[all …]

1234567