Home
last modified time | relevance | path

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

12345678910

/linux-6.1.9/include/drm/
Ddrm_plane.h54 struct drm_plane *plane;
296 int (*update_plane)(struct drm_plane *plane,
319 int (*disable_plane)(struct drm_plane *plane,
329 void (*destroy)(struct drm_plane *plane);
341 void (*reset)(struct drm_plane *plane);
357 int (*set_property)(struct drm_plane *plane,
391 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
401 void (*atomic_destroy_state)(struct drm_plane *plane,
446 int (*atomic_set_property)(struct drm_plane *plane,
469 int (*atomic_get_property)(struct drm_plane *plane,
[all …]
Ddrm_gem_atomic_helper.h17 int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state);
83 void __drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane,
86 void __drm_gem_reset_shadow_plane(struct drm_plane *plane,
89 void drm_gem_reset_shadow_plane(struct drm_plane *plane);
90 struct drm_plane_state *drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane);
91 void drm_gem_destroy_shadow_plane_state(struct drm_plane *plane,
106 int drm_gem_prepare_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state);
107 void drm_gem_cleanup_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state);
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_plane_helper.h33 struct drm_plane;
35 int drm_plane_helper_update_primary(struct drm_plane *plane, struct drm_crtc *crtc,
42 int drm_plane_helper_disable_primary(struct drm_plane *plane,
44 void drm_plane_helper_destroy(struct drm_plane *plane);
45 int drm_plane_helper_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state);
Ddrm_modeset_helper_vtables.h1200 int (*prepare_fb)(struct drm_plane *plane,
1211 void (*cleanup_fb)(struct drm_plane *plane,
1249 int (*atomic_check)(struct drm_plane *plane,
1267 void (*atomic_update)(struct drm_plane *plane,
1291 void (*atomic_disable)(struct drm_plane *plane,
1310 int (*atomic_async_check)(struct drm_plane *plane,
1347 void (*atomic_async_update)(struct drm_plane *plane,
1356 static inline void drm_plane_helper_add(struct drm_plane *plane, in drm_plane_helper_add()
Ddrm_crtc.h59 struct drm_plane;
976 struct drm_plane *primary;
985 struct drm_plane *cursor;
1215 struct drm_plane *primary,
1216 struct drm_plane *cursor,
1223 struct drm_plane *primary,
1224 struct drm_plane *cursor,
1233 struct drm_plane *primary,
1234 struct drm_plane *cursor,
/linux-6.1.9/drivers/gpu/drm/sti/
Dsti_cursor.c184 static int sti_cursor_atomic_check(struct drm_plane *drm_plane, in sti_cursor_atomic_check() argument
188 drm_plane); in sti_cursor_atomic_check()
189 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_check()
253 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_check()
259 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, in sti_cursor_atomic_update() argument
263 drm_plane); in sti_cursor_atomic_update()
264 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update()
314 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, in sti_cursor_atomic_disable() argument
318 drm_plane); in sti_cursor_atomic_disable()
319 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable()
[all …]
Dsti_plane.c46 struct drm_plane_state *state = plane->drm_plane.state; in sti_plane_update_fps()
77 plane->drm_plane.name, in sti_plane_update_fps()
116 static void sti_plane_attach_zorder_property(struct drm_plane *drm_plane, in sti_plane_attach_zorder_property() argument
124 drm_plane_create_zpos_property(drm_plane, zpos, 0, 6); in sti_plane_attach_zorder_property()
127 drm_plane_create_zpos_immutable_property(drm_plane, zpos); in sti_plane_attach_zorder_property()
135 sti_plane_attach_zorder_property(&plane->drm_plane, type); in sti_plane_init_property()
138 plane->drm_plane.base.id, sti_plane_to_str(plane)); in sti_plane_init_property()
Dsti_gdp.c219 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in gdp_dbg_show() local
222 drm_modeset_lock(&drm_plane->mutex, NULL); in gdp_dbg_show()
223 crtc = drm_plane->state->crtc; in gdp_dbg_show()
224 drm_modeset_unlock(&drm_plane->mutex); in gdp_dbg_show()
619 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
623 drm_plane); in sti_gdp_atomic_check()
624 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
694 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
703 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
707 drm_plane); in sti_gdp_atomic_update()
[all …]
Dsti_crtc.h12 struct drm_plane;
17 struct drm_plane *primary, struct drm_plane *cursor);
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h65 enum dpu_sspp dpu_plane_pipe(struct drm_plane *plane);
71 void dpu_plane_flush(struct drm_plane *plane);
77 void dpu_plane_set_error(struct drm_plane *plane, bool error);
87 struct drm_plane *dpu_plane_init(struct drm_device *dev,
111 int dpu_plane_color_fill(struct drm_plane *plane,
115 void dpu_plane_danger_signal_ctrl(struct drm_plane *plane, bool enable);
117 static inline void dpu_plane_danger_signal_ctrl(struct drm_plane *plane, bool enable) {} in dpu_plane_danger_signal_ctrl()
/linux-6.1.9/drivers/gpu/drm/logicvc/
Dlogicvc_layer.c26 container_of(p, struct logicvc_layer, drm_plane)
83 static int logicvc_plane_atomic_check(struct drm_plane *drm_plane, in logicvc_plane_atomic_check() argument
86 struct drm_device *drm_dev = drm_plane->dev; in logicvc_plane_atomic_check()
87 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_check()
90 drm_atomic_get_new_plane_state(state, drm_plane); in logicvc_plane_atomic_check()
122 can_position = (drm_plane->type == DRM_PLANE_TYPE_OVERLAY && in logicvc_plane_atomic_check()
137 static void logicvc_plane_atomic_update(struct drm_plane *drm_plane, in logicvc_plane_atomic_update() argument
140 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_update()
141 struct logicvc_drm *logicvc = logicvc_drm(drm_plane->dev); in logicvc_plane_atomic_update()
144 drm_atomic_get_new_plane_state(state, drm_plane); in logicvc_plane_atomic_update()
[all …]
/linux-6.1.9/drivers/gpu/drm/armada/
Darmada_plane.h24 void armada_drm_plane_cleanup_fb(struct drm_plane *plane,
26 int armada_drm_plane_atomic_check(struct drm_plane *plane,
28 void armada_plane_reset(struct drm_plane *plane);
29 struct drm_plane_state *armada_plane_duplicate_state(struct drm_plane *plane);
30 void armada_plane_destroy_state(struct drm_plane *plane,
34 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-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h122 struct drm_plane *plane;
344 struct drm_plane base;
359 struct drm_plane primary;
473 void vmw_du_primary_plane_destroy(struct drm_plane *plane);
474 void vmw_du_cursor_plane_destroy(struct drm_plane *plane);
479 int vmw_du_primary_plane_atomic_check(struct drm_plane *plane,
481 int vmw_du_cursor_plane_atomic_check(struct drm_plane *plane,
483 void vmw_du_cursor_plane_atomic_update(struct drm_plane *plane,
485 int vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane,
487 void vmw_du_cursor_plane_cleanup_fb(struct drm_plane *plane,
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c19 struct drm_plane base;
47 static void mdp4_plane_set_scanout(struct drm_plane *plane,
49 static int mdp4_plane_mode_set(struct drm_plane *plane,
56 static struct mdp4_kms *get_kms(struct drm_plane *plane) in get_kms()
62 static void mdp4_plane_destroy(struct drm_plane *plane) in mdp4_plane_destroy()
72 static void mdp4_plane_install_properties(struct drm_plane *plane, in mdp4_plane_install_properties()
78 static int mdp4_plane_set_property(struct drm_plane *plane, in mdp4_plane_set_property()
95 static int mdp4_plane_prepare_fb(struct drm_plane *plane, in mdp4_plane_prepare_fb()
109 static void mdp4_plane_cleanup_fb(struct drm_plane *plane, in mdp4_plane_cleanup_fb()
125 static int mdp4_plane_atomic_check(struct drm_plane *plane, in mdp4_plane_atomic_check()
[all …]
/linux-6.1.9/drivers/gpu/drm/
Ddrm_gem_atomic_helper.c143 int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, in drm_gem_plane_helper_prepare_fb()
247 __drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane, in __drm_gem_duplicate_shadow_plane_state()
272 drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane) in drm_gem_duplicate_shadow_plane_state()
311 void drm_gem_destroy_shadow_plane_state(struct drm_plane *plane, in drm_gem_destroy_shadow_plane_state()
330 void __drm_gem_reset_shadow_plane(struct drm_plane *plane, in __drm_gem_reset_shadow_plane()
346 void drm_gem_reset_shadow_plane(struct drm_plane *plane) in drm_gem_reset_shadow_plane()
377 int drm_gem_prepare_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_prepare_shadow_fb()
404 void drm_gem_cleanup_shadow_fb(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_cleanup_shadow_fb()
Ddrm_simple_kms_helper.c115 struct drm_plane *plane; in drm_simple_kms_crtc_enable()
211 static int drm_simple_kms_plane_atomic_check(struct drm_plane *plane, in drm_simple_kms_plane_atomic_check()
240 static void drm_simple_kms_plane_atomic_update(struct drm_plane *plane, in drm_simple_kms_plane_atomic_update()
254 static int drm_simple_kms_plane_prepare_fb(struct drm_plane *plane, in drm_simple_kms_plane_prepare_fb()
272 static void drm_simple_kms_plane_cleanup_fb(struct drm_plane *plane, in drm_simple_kms_plane_cleanup_fb()
284 static bool drm_simple_kms_format_mod_supported(struct drm_plane *plane, in drm_simple_kms_format_mod_supported()
298 static void drm_simple_kms_plane_reset(struct drm_plane *plane) in drm_simple_kms_plane_reset()
309 static struct drm_plane_state *drm_simple_kms_plane_duplicate_state(struct drm_plane *plane) in drm_simple_kms_plane_duplicate_state()
320 static void drm_simple_kms_plane_destroy_state(struct drm_plane *plane, in drm_simple_kms_plane_destroy_state()
395 struct drm_plane *plane = &pipe->plane; in drm_simple_display_pipe_init()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c35 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset()
56 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
74 static void mtk_drm_plane_destroy_state(struct drm_plane *plane, in mtk_drm_plane_destroy_state()
81 static int mtk_plane_atomic_async_check(struct drm_plane *plane, in mtk_plane_atomic_async_check()
145 static void mtk_plane_atomic_async_update(struct drm_plane *plane, in mtk_plane_atomic_async_update()
177 static int mtk_plane_atomic_check(struct drm_plane *plane, in mtk_plane_atomic_check()
209 static void mtk_plane_atomic_disable(struct drm_plane *plane, in mtk_plane_atomic_disable()
220 static void mtk_plane_atomic_update(struct drm_plane *plane, in mtk_plane_atomic_update()
248 int mtk_plane_init(struct drm_device *dev, struct drm_plane *plane, in mtk_plane_init()
/linux-6.1.9/drivers/gpu/drm/imx/
Dipuv3-plane.h7 struct drm_plane;
18 struct drm_plane base;
47 void ipu_plane_disable_deferred(struct drm_plane *plane);
48 bool ipu_plane_atomic_update_pending(struct drm_plane *plane);
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun4i_layer.c19 static void sun4i_backend_layer_reset(struct drm_plane *plane) in sun4i_backend_layer_reset()
38 sun4i_backend_layer_duplicate_state(struct drm_plane *plane) in sun4i_backend_layer_duplicate_state()
53 static void sun4i_backend_layer_destroy_state(struct drm_plane *plane, in sun4i_backend_layer_destroy_state()
63 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()
114 static bool sun4i_layer_format_mod_supported(struct drm_plane *plane, in sun4i_layer_format_mod_supported()
234 struct drm_plane **sun4i_layers_init(struct drm_device *drm, in sun4i_layers_init()
237 struct drm_plane **planes; in sun4i_layers_init()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_plane.c34 struct drm_plane base;
45 static int omap_plane_prepare_fb(struct drm_plane *plane, in omap_plane_prepare_fb()
56 static void omap_plane_cleanup_fb(struct drm_plane *plane, in omap_plane_cleanup_fb()
63 static void omap_plane_atomic_update(struct drm_plane *plane, in omap_plane_atomic_update()
168 static void omap_plane_atomic_disable(struct drm_plane *plane, in omap_plane_atomic_disable()
200 static int omap_plane_atomic_check(struct drm_plane *plane, in omap_plane_atomic_check()
370 static void omap_plane_destroy(struct drm_plane *plane) in omap_plane_destroy()
382 void omap_plane_install_properties(struct drm_plane *plane, in omap_plane_install_properties()
405 static void omap_plane_reset(struct drm_plane *plane) in omap_plane_reset()
420 omap_plane_atomic_duplicate_state(struct drm_plane *plane) in omap_plane_atomic_duplicate_state()
[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-6.1.9/drivers/gpu/drm/tegra/
Dplane.h16 struct drm_plane base;
33 static inline struct tegra_plane *to_tegra_plane(struct drm_plane *plane) in to_tegra_plane()
83 int tegra_plane_prepare_fb(struct drm_plane *plane,
85 void tegra_plane_cleanup_fb(struct drm_plane *plane,

12345678910