Home
last modified time | relevance | path

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

12345678910

/OK3568_Linux_fs/kernel/include/drm/
H A 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 …]
H A 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,
H A 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,
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sti/
H A 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 …]
H A 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()
H A 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 …]
H A Dsti_hqvdp.c1019 static int sti_hqvdp_atomic_check(struct drm_plane *drm_plane, in sti_hqvdp_atomic_check() argument
1022 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_check()
1100 drm_plane->base.id, sti_plane_to_str(plane)); in sti_hqvdp_atomic_check()
1109 static void sti_hqvdp_atomic_update(struct drm_plane *drm_plane, in sti_hqvdp_atomic_update() argument
1112 struct drm_plane_state *state = drm_plane->state; in sti_hqvdp_atomic_update()
1113 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_update()
1240 static void sti_hqvdp_atomic_disable(struct drm_plane *drm_plane, in sti_hqvdp_atomic_disable() argument
1243 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_hqvdp_atomic_disable()
1247 drm_plane->base.id); in sti_hqvdp_atomic_disable()
1254 drm_plane->base.id, sti_plane_to_str(plane)); in sti_hqvdp_atomic_disable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/dpu1/
H A 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,
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/armada/
H A 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);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp4/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vkms/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A 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 …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0006-backend-drm-Bind-Nth-primary-plane-to-Nth-CRTC.patch32 @@ -184,6 +184,11 @@ drm_plane_is_available(struct drm_plane *plane, struct drm_output *output)
44 @@ -942,14 +947,16 @@ drm_plane_destroy(struct drm_plane *plane)
54 struct drm_plane *drm_plane;
63 if (!drm_plane)
72 + if (drm_plane->type == WDRM_PLANE_TYPE_PRIMARY) {
80 if (drm_plane->type == WDRM_PLANE_TYPE_OVERLAY)
82 &drm_plane->base,
/OK3568_Linux_fs/buildroot/package/weston/
H A D0006-backend-drm-Bind-Nth-primary-plane-to-Nth-CRTC.patch32 @@ -184,6 +184,11 @@ drm_plane_is_available(struct drm_plane *plane, struct drm_output *output)
44 @@ -942,14 +947,16 @@ drm_plane_destroy(struct drm_plane *plane)
54 struct drm_plane *drm_plane;
63 if (!drm_plane)
72 + if (drm_plane->type == WDRM_PLANE_TYPE_PRIMARY) {
80 if (drm_plane->type == WDRM_PLANE_TYPE_OVERLAY)
82 &drm_plane->base,
/OK3568_Linux_fs/kernel/drivers/gpu/drm/mediatek/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/fsl-dcu/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/display/komeda/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/
H A 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);
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c15 struct drm_plane base;
22 static int mdp5_plane_mode_set(struct drm_plane *plane,
26 static struct mdp5_kms *get_kms(struct drm_plane *plane) in get_kms()
37 static void mdp5_plane_destroy(struct drm_plane *plane) in mdp5_plane_destroy()
47 struct drm_plane *plane) in mdp5_plane_install_rotation_property()
58 static void mdp5_plane_install_properties(struct drm_plane *plane, in mdp5_plane_install_properties()
99 static int mdp5_plane_atomic_set_property(struct drm_plane *plane, in mdp5_plane_atomic_set_property()
127 static int mdp5_plane_atomic_get_property(struct drm_plane *plane, in mdp5_plane_atomic_get_property()
174 static void mdp5_plane_reset(struct drm_plane *plane) in mdp5_plane_reset()
202 mdp5_plane_duplicate_state(struct drm_plane *plane) in mdp5_plane_duplicate_state()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_plane.c65 struct drm_plane *tmp; in drm_num_planes()
86 static int create_in_format_blob(struct drm_device *dev, struct drm_plane *plane) in create_in_format_blob()
173 int drm_universal_plane_init(struct drm_device *dev, struct drm_plane *plane, in drm_universal_plane_init()
295 struct drm_plane *plane; in drm_plane_register_all()
317 struct drm_plane *plane; in drm_plane_unregister_all()
342 int drm_plane_init(struct drm_device *dev, struct drm_plane *plane, in drm_plane_init()
365 void drm_plane_cleanup(struct drm_plane *plane) in drm_plane_cleanup()
403 struct drm_plane *
406 struct drm_plane *plane; in drm_plane_from_index()
431 void drm_plane_force_disable(struct drm_plane *plane) in drm_plane_force_disable()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rcar-du/
H A Drcar_du_plane.c137 struct drm_plane *drm_plane; in rcar_du_atomic_check_planes() local
142 for_each_oldnew_plane_in_state(state, drm_plane, old_drm_plane_state, in rcar_du_atomic_check_planes()
149 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes()
251 for_each_oldnew_plane_in_state(state, drm_plane, old_drm_plane_state, in rcar_du_atomic_check_planes()
260 plane = to_rcar_plane(drm_plane); in rcar_du_atomic_check_planes()
565 int __rcar_du_plane_atomic_check(struct drm_plane *plane, in __rcar_du_plane_atomic_check()
609 static int rcar_du_plane_atomic_check(struct drm_plane *plane, in rcar_du_plane_atomic_check()
617 static void rcar_du_plane_atomic_update(struct drm_plane *plane, in rcar_du_plane_atomic_update()
651 rcar_du_plane_atomic_duplicate_state(struct drm_plane *plane) in rcar_du_plane_atomic_duplicate_state()
669 static void rcar_du_plane_atomic_destroy_state(struct drm_plane *plane, in rcar_du_plane_atomic_destroy_state()
[all …]

12345678910