Home
last modified time | relevance | path

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

123456789

/Linux-v5.10/include/drm/
Ddrm_plane.h49 struct drm_plane *plane;
283 int (*update_plane)(struct drm_plane *plane,
306 int (*disable_plane)(struct drm_plane *plane,
316 void (*destroy)(struct drm_plane *plane);
328 void (*reset)(struct drm_plane *plane);
344 int (*set_property)(struct drm_plane *plane,
378 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
388 void (*atomic_destroy_state)(struct drm_plane *plane,
433 int (*atomic_set_property)(struct drm_plane *plane,
456 int (*atomic_get_property)(struct drm_plane *plane,
[all …]
Ddrm_blend.h36 struct drm_plane;
45 int drm_plane_create_alpha_property(struct drm_plane *plane);
46 int drm_plane_create_rotation_property(struct drm_plane *plane,
52 int drm_plane_create_zpos_property(struct drm_plane *plane,
55 int drm_plane_create_zpos_immutable_property(struct drm_plane *plane,
59 int drm_plane_create_blend_mode_property(struct drm_plane *plane,
Ddrm_atomic_state_helper.h33 struct drm_plane;
56 struct drm_plane *plane);
57 void __drm_atomic_helper_plane_reset(struct drm_plane *plane,
59 void drm_atomic_helper_plane_reset(struct drm_plane *plane);
60 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane,
63 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane);
65 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
Ddrm_modeset_helper_vtables.h1202 int (*prepare_fb)(struct drm_plane *plane,
1213 void (*cleanup_fb)(struct drm_plane *plane,
1252 int (*atomic_check)(struct drm_plane *plane,
1270 void (*atomic_update)(struct drm_plane *plane,
1294 void (*atomic_disable)(struct drm_plane *plane,
1313 int (*atomic_async_check)(struct drm_plane *plane,
1352 void (*atomic_async_update)(struct drm_plane *plane,
1361 static inline void drm_plane_helper_add(struct drm_plane *plane, in drm_plane_helper_add()
/Linux-v5.10/drivers/gpu/drm/sti/
Dsti_cursor.c183 static int sti_cursor_atomic_check(struct drm_plane *drm_plane, in sti_cursor_atomic_check() argument
186 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_check()
248 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_check()
254 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, in sti_cursor_atomic_update() argument
257 struct drm_plane_state *state = drm_plane->state; in sti_cursor_atomic_update()
258 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update()
308 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, in sti_cursor_atomic_disable() argument
311 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable()
315 drm_plane->base.id); in sti_cursor_atomic_disable()
322 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_disable()
[all …]
Dsti_plane.c45 struct drm_plane_state *state = plane->drm_plane.state; in sti_plane_update_fps()
76 plane->drm_plane.name, in sti_plane_update_fps()
115 void sti_plane_reset(struct drm_plane *plane) in sti_plane_reset()
121 static void sti_plane_attach_zorder_property(struct drm_plane *drm_plane, in sti_plane_attach_zorder_property() argument
129 drm_plane_create_zpos_property(drm_plane, zpos, 0, 6); in sti_plane_attach_zorder_property()
132 drm_plane_create_zpos_immutable_property(drm_plane, zpos); in sti_plane_attach_zorder_property()
140 sti_plane_attach_zorder_property(&plane->drm_plane, type); in sti_plane_init_property()
143 plane->drm_plane.base.id, sti_plane_to_str(plane)); in sti_plane_init_property()
Dsti_gdp.c217 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() local
220 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
221 crtc = drm_plane->state->crtc; in gdp_dbg_show()
222 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
617 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
620 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
688 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
697 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
700 struct drm_plane_state *state = drm_plane->state; in sti_gdp_atomic_update()
701 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update()
[all …]
Dsti_plane.h13 #define to_sti_plane(x) container_of(x, struct sti_plane, drm_plane)
71 struct drm_plane drm_plane; member
84 void sti_plane_reset(struct drm_plane *plane);
Dsti_crtc.h12 struct drm_plane;
17 struct drm_plane *primary, struct drm_plane *cursor);
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h66 enum dpu_sspp dpu_plane_pipe(struct drm_plane *plane);
74 bool is_dpu_plane_virtual(struct drm_plane *plane);
82 void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl,
89 void dpu_plane_restore(struct drm_plane *plane);
95 void dpu_plane_flush(struct drm_plane *plane);
101 void dpu_plane_set_error(struct drm_plane *plane, bool error);
114 struct drm_plane *dpu_plane_init(struct drm_device *dev,
138 int dpu_plane_color_fill(struct drm_plane *plane,
Ddpu_plane.c89 struct drm_plane base;
127 static struct dpu_kms *_dpu_plane_get_kms(struct drm_plane *plane) in _dpu_plane_get_kms()
141 static void _dpu_plane_calc_bw(struct drm_plane *plane, in _dpu_plane_calc_bw()
190 static void _dpu_plane_calc_clk(struct drm_plane *plane) in _dpu_plane_calc_clk()
221 static int _dpu_plane_calc_fill_level(struct drm_plane *plane, in _dpu_plane_calc_fill_level()
307 static void _dpu_plane_set_qos_lut(struct drm_plane *plane, in _dpu_plane_set_qos_lut()
353 static void _dpu_plane_set_danger_lut(struct drm_plane *plane, in _dpu_plane_set_danger_lut()
410 static void _dpu_plane_set_qos_ctrl(struct drm_plane *plane, in _dpu_plane_set_qos_ctrl()
454 static void _dpu_plane_set_ot_limit(struct drm_plane *plane, in _dpu_plane_set_ot_limit()
479 static void _dpu_plane_set_qos_remap(struct drm_plane *plane) in _dpu_plane_set_qos_remap()
[all …]
/Linux-v5.10/drivers/gpu/drm/armada/
Darmada_plane.h24 int armada_drm_plane_prepare_fb(struct drm_plane *plane,
26 void armada_drm_plane_cleanup_fb(struct drm_plane *plane,
28 int armada_drm_plane_atomic_check(struct drm_plane *plane,
30 void armada_plane_reset(struct drm_plane *plane);
31 struct drm_plane_state *armada_plane_duplicate_state(struct drm_plane *plane);
32 void armada_plane_destroy_state(struct drm_plane *plane,
36 struct drm_plane *primary);
Darmada_trace.h9 struct drm_plane;
31 TP_PROTO(struct drm_plane *plane, struct drm_crtc *crtc,
37 __field(struct drm_plane *, plane)
71 TP_PROTO(struct drm_crtc *crtc, struct drm_plane *plane),
74 __field(struct drm_plane *, plane)
/Linux-v5.10/drivers/gpu/drm/omapdrm/
Domap_plane.c21 struct drm_plane base;
26 static int omap_plane_prepare_fb(struct drm_plane *plane, in omap_plane_prepare_fb()
35 static void omap_plane_cleanup_fb(struct drm_plane *plane, in omap_plane_cleanup_fb()
42 static void omap_plane_atomic_update(struct drm_plane *plane, in omap_plane_atomic_update()
86 static void omap_plane_atomic_disable(struct drm_plane *plane, in omap_plane_atomic_disable()
99 static int omap_plane_atomic_check(struct drm_plane *plane, in omap_plane_atomic_check()
143 static void omap_plane_destroy(struct drm_plane *plane) in omap_plane_destroy()
155 void omap_plane_install_properties(struct drm_plane *plane, in omap_plane_install_properties()
178 static void omap_plane_reset(struct drm_plane *plane) in omap_plane_reset()
194 static int omap_plane_atomic_set_property(struct drm_plane *plane, in omap_plane_atomic_set_property()
[all …]
Domap_plane.h18 struct drm_plane;
20 struct drm_plane *omap_plane_init(struct drm_device *dev,
23 void omap_plane_install_properties(struct drm_plane *plane,
/Linux-v5.10/drivers/gpu/drm/vkms/
Dvkms_plane.c20 vkms_plane_duplicate_state(struct drm_plane *plane) in vkms_plane_duplicate_state()
44 static void vkms_plane_destroy_state(struct drm_plane *plane, in vkms_plane_destroy_state()
65 static void vkms_plane_reset(struct drm_plane *plane) in vkms_plane_reset()
91 static void vkms_plane_atomic_update(struct drm_plane *plane, in vkms_plane_atomic_update()
113 static int vkms_plane_atomic_check(struct drm_plane *plane, in vkms_plane_atomic_check()
144 static int vkms_prepare_fb(struct drm_plane *plane, in vkms_prepare_fb()
161 static void vkms_cleanup_fb(struct drm_plane *plane, in vkms_cleanup_fb()
180 struct drm_plane *vkms_plane_init(struct vkms_device *vkmsdev, in vkms_plane_init()
185 struct drm_plane *plane; in vkms_plane_init()
/Linux-v5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c16 struct drm_plane base;
44 static void mdp4_plane_set_scanout(struct drm_plane *plane,
46 static int mdp4_plane_mode_set(struct drm_plane *plane,
53 static struct mdp4_kms *get_kms(struct drm_plane *plane) in get_kms()
59 static void mdp4_plane_destroy(struct drm_plane *plane) in mdp4_plane_destroy()
69 static void mdp4_plane_install_properties(struct drm_plane *plane, in mdp4_plane_install_properties()
75 static int mdp4_plane_set_property(struct drm_plane *plane, in mdp4_plane_set_property()
92 static void mdp4_plane_cleanup_fb(struct drm_plane *plane, in mdp4_plane_cleanup_fb()
108 static int mdp4_plane_atomic_check(struct drm_plane *plane, in mdp4_plane_atomic_check()
114 static void mdp4_plane_atomic_update(struct drm_plane *plane, in mdp4_plane_atomic_update()
[all …]
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h121 struct drm_plane *plane;
340 struct drm_plane primary;
341 struct drm_plane cursor;
454 void vmw_du_primary_plane_destroy(struct drm_plane *plane);
455 void vmw_du_cursor_plane_destroy(struct drm_plane *plane);
458 int vmw_du_primary_plane_atomic_check(struct drm_plane *plane,
460 int vmw_du_cursor_plane_atomic_check(struct drm_plane *plane,
462 void vmw_du_cursor_plane_atomic_update(struct drm_plane *plane,
464 int vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane,
466 void vmw_du_plane_cleanup_fb(struct drm_plane *plane,
[all …]
/Linux-v5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c34 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset()
54 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
72 static void mtk_drm_plane_destroy_state(struct drm_plane *plane, in mtk_drm_plane_destroy_state()
79 static int mtk_plane_atomic_async_check(struct drm_plane *plane, in mtk_plane_atomic_async_check()
111 static void mtk_plane_atomic_async_update(struct drm_plane *plane, in mtk_plane_atomic_async_update()
139 static int mtk_plane_atomic_check(struct drm_plane *plane, in mtk_plane_atomic_check()
167 static void mtk_plane_atomic_disable(struct drm_plane *plane, in mtk_plane_atomic_disable()
177 static void mtk_plane_atomic_update(struct drm_plane *plane, in mtk_plane_atomic_update()
227 int mtk_plane_init(struct drm_device *dev, struct drm_plane *plane, in mtk_plane_init()
/Linux-v5.10/drivers/gpu/drm/imx/
Dipuv3-plane.h7 struct drm_plane;
18 struct drm_plane base;
50 void ipu_plane_disable_deferred(struct drm_plane *plane);
51 bool ipu_plane_atomic_update_pending(struct drm_plane *plane);
/Linux-v5.10/drivers/gpu/drm/sun4i/
Dsun4i_layer.c18 static void sun4i_backend_layer_reset(struct drm_plane *plane) in sun4i_backend_layer_reset()
40 sun4i_backend_layer_duplicate_state(struct drm_plane *plane) in sun4i_backend_layer_duplicate_state()
55 static void sun4i_backend_layer_destroy_state(struct drm_plane *plane, in sun4i_backend_layer_destroy_state()
65 static void sun4i_backend_layer_atomic_disable(struct drm_plane *plane, in sun4i_backend_layer_atomic_disable()
83 static void sun4i_backend_layer_atomic_update(struct drm_plane *plane, in sun4i_backend_layer_atomic_update()
112 static bool sun4i_layer_format_mod_supported(struct drm_plane *plane, in sun4i_layer_format_mod_supported()
231 struct drm_plane **sun4i_layers_init(struct drm_device *drm, in sun4i_layers_init()
234 struct drm_plane **planes; in sun4i_layers_init()
Dsun4i_layer.h15 struct drm_plane plane;
28 plane_to_sun4i_layer(struct drm_plane *plane) in plane_to_sun4i_layer()
39 struct drm_plane **sun4i_layers_init(struct drm_device *drm,
/Linux-v5.10/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_plane.c21 static int fsl_dcu_drm_plane_index(struct drm_plane *plane) in fsl_dcu_drm_plane_index()
35 static int fsl_dcu_drm_plane_atomic_check(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_check()
59 static void fsl_dcu_drm_plane_atomic_disable(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_disable()
75 static void fsl_dcu_drm_plane_atomic_update(struct drm_plane *plane, in fsl_dcu_drm_plane_atomic_update()
169 static void fsl_dcu_drm_plane_destroy(struct drm_plane *plane) in fsl_dcu_drm_plane_destroy()
207 struct drm_plane *fsl_dcu_drm_primary_create_plane(struct drm_device *dev) in fsl_dcu_drm_primary_create_plane()
209 struct drm_plane *primary; in fsl_dcu_drm_primary_create_plane()
/Linux-v5.10/drivers/gpu/drm/tegra/
Dplane.h15 struct drm_plane base;
29 static inline struct tegra_plane *to_tegra_plane(struct drm_plane *plane) in to_tegra_plane()
68 int tegra_plane_prepare_fb(struct drm_plane *plane,
70 void tegra_plane_cleanup_fb(struct drm_plane *plane,
/Linux-v5.10/drivers/gpu/drm/arm/display/komeda/
Dkomeda_plane.c73 komeda_plane_atomic_check(struct drm_plane *plane, in komeda_plane_atomic_check()
117 komeda_plane_atomic_update(struct drm_plane *plane, in komeda_plane_atomic_update()
127 static void komeda_plane_destroy(struct drm_plane *plane) in komeda_plane_destroy()
134 static void komeda_plane_reset(struct drm_plane *plane) in komeda_plane_reset()
159 komeda_plane_atomic_duplicate_state(struct drm_plane *plane) in komeda_plane_atomic_duplicate_state()
176 komeda_plane_atomic_destroy_state(struct drm_plane *plane, in komeda_plane_atomic_destroy_state()
184 komeda_plane_format_mod_supported(struct drm_plane *plane, in komeda_plane_format_mod_supported()
226 struct drm_plane *plane) in komeda_set_crtc_plane_mask()
254 struct drm_plane *plane; in komeda_plane_add()

123456789