Home
last modified time | relevance | path

Searched refs:drm_plane_state (Results 1 – 25 of 172) sorted by relevance

1234567

/linux-6.1.9/include/drm/
Ddrm_gem_atomic_helper.h17 int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state);
19 struct drm_plane_state *plane_state);
52 struct drm_plane_state base;
78 to_drm_shadow_plane_state(struct drm_plane_state *state) in to_drm_shadow_plane_state()
90 struct drm_plane_state *drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane);
92 struct drm_plane_state *plane_state);
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);
122 struct drm_plane_state *plane_state);
124 struct drm_plane_state *plane_state);
[all …]
Ddrm_atomic_state_helper.h34 struct drm_plane_state;
55 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *state,
58 struct drm_plane_state *state);
61 struct drm_plane_state *state);
62 struct drm_plane_state *
64 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state);
66 struct drm_plane_state *state);
Ddrm_simple_kms_helper.h64 struct drm_plane_state *plane_state);
92 struct drm_plane_state *plane_state,
110 struct drm_plane_state *old_plane_state);
126 struct drm_plane_state *plane_state);
136 struct drm_plane_state *plane_state);
198 struct drm_plane_state * (*duplicate_plane_state)(struct drm_simple_display_pipe *pipe);
208 struct drm_plane_state *plane_state);
Ddrm_damage_helper.h68 struct drm_plane_state *plane_state);
75 const struct drm_plane_state *old_state,
76 const struct drm_plane_state *new_state);
80 bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state,
81 struct drm_plane_state *state,
Ddrm_plane.h52 struct drm_plane_state { struct
243 drm_plane_state_src(const struct drm_plane_state *state) in drm_plane_state_src() argument
255 drm_plane_state_dest(const struct drm_plane_state *state) in drm_plane_state_dest()
391 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
402 struct drm_plane_state *state);
447 struct drm_plane_state *state,
470 const struct drm_plane_state *state,
509 const struct drm_plane_state *state);
700 struct drm_plane_state *state;
942 drm_plane_get_damage_clips_count(const struct drm_plane_state *state);
[all …]
Ddrm_fb_dma_helper.h9 struct drm_plane_state;
15 struct drm_plane_state *state,
19 struct drm_plane_state *old_state,
20 struct drm_plane_state *state);
Ddrm_gem_vram_helper.h19 struct drm_plane_state;
123 struct drm_plane_state *new_state);
126 struct drm_plane_state *old_state);
146 struct drm_plane_state *new_state);
150 struct drm_plane_state *old_state);
Ddrm_atomic_uapi.h35 struct drm_plane_state;
48 drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,
50 void drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state,
/linux-6.1.9/drivers/gpu/drm/
Ddrm_gem_atomic_helper.c144 struct drm_plane_state *state) in drm_gem_plane_helper_prepare_fb()
223 struct drm_plane_state *plane_state) in drm_gem_simple_display_pipe_prepare_fb()
271 struct drm_plane_state *
274 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state()
312 struct drm_plane_state *plane_state) in drm_gem_destroy_shadow_plane_state()
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()
432 struct drm_plane_state *plane_state) in drm_gem_simple_kms_prepare_shadow_fb()
449 struct drm_plane_state *plane_state) in drm_gem_simple_kms_cleanup_shadow_fb()
480 struct drm_plane_state *
[all …]
Ddrm_blend.c433 const struct drm_plane_state *sa = *(struct drm_plane_state **)a; in drm_atomic_state_zpos_cmp()
434 const struct drm_plane_state *sb = *(struct drm_plane_state **)b; in drm_atomic_state_zpos_cmp()
448 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos()
465 struct drm_plane_state *plane_state = in drm_atomic_helper_crtc_normalize_zpos()
517 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos()
Ddrm_damage_helper.c68 struct drm_plane_state *plane_state) in drm_atomic_helper_check_plane_damage()
160 struct drm_plane_state *plane_state; in drm_atomic_helper_dirtyfb()
224 const struct drm_plane_state *old_state, in drm_atomic_helper_damage_iter_init()
225 const struct drm_plane_state *state) in drm_atomic_helper_damage_iter_init()
309 bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, in drm_atomic_helper_damage_merged()
310 struct drm_plane_state *state, in drm_atomic_helper_damage_merged()
Ddrm_atomic_state_helper.c245 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *plane_state, in __drm_atomic_helper_plane_state_reset()
294 struct drm_plane_state *plane_state) in __drm_atomic_helper_plane_reset()
331 struct drm_plane_state *state) in __drm_atomic_helper_plane_duplicate_state()
351 struct drm_plane_state *
354 struct drm_plane_state *state; in drm_atomic_helper_plane_duplicate_state()
375 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state) in __drm_atomic_helper_plane_destroy_state()
399 struct drm_plane_state *state) in drm_atomic_helper_plane_destroy_state()
Ddrm_simple_kms_helper.c214 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, in drm_simple_kms_plane_atomic_check()
243 struct drm_plane_state *old_pstate = drm_atomic_get_old_plane_state(state, in drm_simple_kms_plane_atomic_update()
255 struct drm_plane_state *state) in drm_simple_kms_plane_prepare_fb()
273 struct drm_plane_state *state) in drm_simple_kms_plane_cleanup_fb()
309 static struct drm_plane_state *drm_simple_kms_plane_duplicate_state(struct drm_plane *plane) in drm_simple_kms_plane_duplicate_state()
321 struct drm_plane_state *state) in drm_simple_kms_plane_destroy_state()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dplane.h44 struct drm_plane_state base;
67 to_tegra_plane_state(struct drm_plane_state *state) in to_tegra_plane_state()
76 to_const_tegra_plane_state(const struct drm_plane_state *state) in to_const_tegra_plane_state()
78 return to_tegra_plane_state((struct drm_plane_state *)state); in to_const_tegra_plane_state()
84 struct drm_plane_state *state);
86 struct drm_plane_state *state);
89 struct drm_plane_state *state);
/linux-6.1.9/drivers/gpu/drm/armada/
Darmada_plane.h5 struct drm_plane_state base;
22 void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3],
25 struct drm_plane_state *old_state);
29 struct drm_plane_state *armada_plane_duplicate_state(struct drm_plane *plane);
31 struct drm_plane_state *state);
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.h33 struct drm_plane_state *old_plane_state);
36 const struct drm_plane_state *state,
39 int dm_plane_helper_check_state(struct drm_plane_state *state,
61 void fill_blending_from_plane_state(const struct drm_plane_state *plane_state,
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_plane.h32 struct drm_plane_state base;
53 const struct drm_plane_state *r0;
54 const struct drm_plane_state *r1;
102 void dpu_plane_clear_multirect(const struct drm_plane_state *drm_state);
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_drm_plane.c56 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
75 struct drm_plane_state *state) in mtk_drm_plane_destroy_state()
84 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_async_check()
115 static void mtk_plane_update_new_state(struct drm_plane_state *new_state, in mtk_plane_update_new_state()
148 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_async_update()
180 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_check()
212 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_disable()
223 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_update()
/linux-6.1.9/drivers/gpu/drm/omapdrm/
Domap_plane.c25 struct drm_plane_state base;
38 bool is_omap_plane_dual_overlay(struct drm_plane_state *state) in is_omap_plane_dual_overlay()
46 struct drm_plane_state *new_state) in omap_plane_prepare_fb()
57 struct drm_plane_state *old_state) in omap_plane_cleanup_fb()
67 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update()
69 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_update()
173 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_disable()
175 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_disable()
203 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_check()
205 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_check()
[all …]
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_du_plane.h51 struct drm_plane_state state;
61 to_rcar_plane_state(struct drm_plane_state *state) in to_rcar_plane_state()
70 struct drm_plane_state *state,
/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h123 struct drm_plane_state *old_state;
286 struct drm_plane_state base;
486 struct drm_plane_state *new_state);
488 struct drm_plane_state *old_state);
490 struct drm_plane_state *old_state);
492 struct drm_plane_state *vmw_du_plane_duplicate_state(struct drm_plane *plane);
494 struct drm_plane_state *state);
593 static inline void vmw_du_translate_to_crtc(struct drm_plane_state *state, in vmw_du_translate_to_crtc()
/linux-6.1.9/drivers/gpu/drm/imx/
Dipuv3-plane.c24 struct drm_plane_state base;
29 to_ipu_plane_state(struct drm_plane_state *p) in to_ipu_plane_state()
34 static unsigned int ipu_src_rect_width(const struct drm_plane_state *state) in ipu_src_rect_width()
125 drm_plane_state_to_eba(struct drm_plane_state *state, int plane) in drm_plane_state_to_eba()
140 drm_plane_state_to_ubo(struct drm_plane_state *state) in drm_plane_state_to_ubo()
159 drm_plane_state_to_vbo(struct drm_plane_state *state) in drm_plane_state_to_vbo()
316 static struct drm_plane_state *
332 struct drm_plane_state *state) in ipu_plane_destroy_state()
369 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in ipu_plane_atomic_check()
371 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in ipu_plane_atomic_check()
[all …]
/linux-6.1.9/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c14 static void set_src(struct drm_plane_state *plane_state, in set_src()
24 static bool check_src_eq(struct drm_plane_state *plane_state, in check_src_eq()
50 static void set_crtc(struct drm_plane_state *plane_state, in set_crtc()
60 static bool check_crtc_eq(struct drm_plane_state *plane_state, in check_crtc_eq()
96 static struct drm_plane_state plane_state = { in drm_test_check_plane_state()
/linux-6.1.9/drivers/gpu/drm/exynos/
Dexynos_drm_plane.c58 struct drm_plane_state *state = &exynos_state->base; in exynos_plane_mode_set()
143 static struct drm_plane_state *
159 struct drm_plane_state *old_state) in exynos_drm_plane_destroy_state()
234 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in exynos_plane_atomic_check()
258 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in exynos_plane_atomic_update()
273 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in exynos_plane_atomic_disable()
/linux-6.1.9/drivers/gpu/drm/sun4i/
Dsun8i_ui_layer.c101 struct drm_plane_state *state = plane->state; in sun8i_ui_layer_update_coord()
168 struct drm_plane_state *state = plane->state; in sun8i_ui_layer_update_formats()
193 struct drm_plane_state *state = plane->state; in sun8i_ui_layer_update_buffer()
233 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in sun8i_ui_layer_atomic_check()
265 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in sun8i_ui_layer_atomic_disable()
278 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in sun8i_ui_layer_atomic_update()
280 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in sun8i_ui_layer_atomic_update()

1234567