Home
last modified time | relevance | path

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

12345678

/Linux-v5.4/include/drm/
Ddrm_plane.h49 struct drm_plane *plane;
264 int (*update_plane)(struct drm_plane *plane,
287 int (*disable_plane)(struct drm_plane *plane,
297 void (*destroy)(struct drm_plane *plane);
309 void (*reset)(struct drm_plane *plane);
325 int (*set_property)(struct drm_plane *plane,
359 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
369 void (*atomic_destroy_state)(struct drm_plane *plane,
414 int (*atomic_set_property)(struct drm_plane *plane,
437 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.h31 struct drm_plane;
51 void __drm_atomic_helper_plane_reset(struct drm_plane *plane,
53 void drm_atomic_helper_plane_reset(struct drm_plane *plane);
54 void __drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane,
57 drm_atomic_helper_plane_duplicate_state(struct drm_plane *plane);
59 void drm_atomic_helper_plane_destroy_state(struct drm_plane *plane,
Ddrm_modeset_helper_vtables.h1103 int (*prepare_fb)(struct drm_plane *plane,
1114 void (*cleanup_fb)(struct drm_plane *plane,
1153 int (*atomic_check)(struct drm_plane *plane,
1171 void (*atomic_update)(struct drm_plane *plane,
1195 void (*atomic_disable)(struct drm_plane *plane,
1214 int (*atomic_async_check)(struct drm_plane *plane,
1253 void (*atomic_async_update)(struct drm_plane *plane,
1262 static inline void drm_plane_helper_add(struct drm_plane *plane, in drm_plane_helper_add()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h62 enum dpu_sspp dpu_plane_pipe(struct drm_plane *plane);
70 bool is_dpu_plane_virtual(struct drm_plane *plane);
78 void dpu_plane_get_ctl_flush(struct drm_plane *plane, struct dpu_hw_ctl *ctl,
85 void dpu_plane_restore(struct drm_plane *plane);
91 void dpu_plane_flush(struct drm_plane *plane);
97 void dpu_plane_set_error(struct drm_plane *plane, bool error);
110 struct drm_plane *dpu_plane_init(struct drm_device *dev,
134 int dpu_plane_color_fill(struct drm_plane *plane,
Ddpu_plane.c84 struct drm_plane base;
122 static struct dpu_kms *_dpu_plane_get_kms(struct drm_plane *plane) in _dpu_plane_get_kms()
136 static int _dpu_plane_calc_fill_level(struct drm_plane *plane, in _dpu_plane_calc_fill_level()
222 static void _dpu_plane_set_qos_lut(struct drm_plane *plane, in _dpu_plane_set_qos_lut()
268 static void _dpu_plane_set_danger_lut(struct drm_plane *plane, in _dpu_plane_set_danger_lut()
325 static void _dpu_plane_set_qos_ctrl(struct drm_plane *plane, in _dpu_plane_set_qos_ctrl()
369 static void _dpu_plane_set_ot_limit(struct drm_plane *plane, in _dpu_plane_set_ot_limit()
394 static void _dpu_plane_set_qos_remap(struct drm_plane *plane) in _dpu_plane_set_qos_remap()
416 static void _dpu_plane_set_scanout(struct drm_plane *plane, in _dpu_plane_set_scanout()
576 const struct drm_plane *plane = &pdpu->base; in _dpu_plane_color_fill()
[all …]
/Linux-v5.4/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()
616 static int sti_gdp_atomic_check(struct drm_plane *drm_plane, in sti_gdp_atomic_check() argument
619 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_check()
687 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_check()
696 static void sti_gdp_atomic_update(struct drm_plane *drm_plane, in sti_gdp_atomic_update() argument
699 struct drm_plane_state *state = drm_plane->state; in sti_gdp_atomic_update()
700 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.4/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.4/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.4/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.4/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.4/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.4/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c28 static void mtk_plane_reset(struct drm_plane *plane) in mtk_plane_reset()
48 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
66 static void mtk_drm_plane_destroy_state(struct drm_plane *plane, in mtk_drm_plane_destroy_state()
82 static int mtk_plane_atomic_check(struct drm_plane *plane, in mtk_plane_atomic_check()
104 static void mtk_plane_atomic_update(struct drm_plane *plane, in mtk_plane_atomic_update()
139 static void mtk_plane_atomic_disable(struct drm_plane *plane, in mtk_plane_atomic_disable()
156 int mtk_plane_init(struct drm_device *dev, struct drm_plane *plane, in mtk_plane_init()
/Linux-v5.4/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.4/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.4/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.4/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()
/Linux-v5.4/drivers/gpu/drm/
Ddrm_simple_kms_helper.c64 struct drm_plane *plane; in drm_simple_kms_crtc_enable()
127 static int drm_simple_kms_plane_atomic_check(struct drm_plane *plane, in drm_simple_kms_plane_atomic_check()
154 static void drm_simple_kms_plane_atomic_update(struct drm_plane *plane, in drm_simple_kms_plane_atomic_update()
166 static int drm_simple_kms_plane_prepare_fb(struct drm_plane *plane, in drm_simple_kms_plane_prepare_fb()
178 static void drm_simple_kms_plane_cleanup_fb(struct drm_plane *plane, in drm_simple_kms_plane_cleanup_fb()
190 static bool drm_simple_kms_format_mod_supported(struct drm_plane *plane, in drm_simple_kms_format_mod_supported()
267 struct drm_plane *plane = &pipe->plane; in drm_simple_display_pipe_init()

12345678