Home
last modified time | relevance | path

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

12345

/linux/include/drm/
H A Ddrm_gem_atomic_helper.h18 int drm_gem_plane_helper_prepare_fb(struct drm_plane *plane, struct drm_plane_state *state);
51 struct drm_plane_state base;
86 to_drm_shadow_plane_state(struct drm_plane_state *state) in to_drm_shadow_plane_state()
98 struct drm_plane_state *drm_gem_duplicate_shadow_plane_state(struct drm_plane *plane);
100 struct drm_plane_state *plane_state);
114 int drm_gem_begin_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state);
115 void drm_gem_end_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state);
130 struct drm_plane_state *plane_state);
132 struct drm_plane_state *plane_state);
134 struct drm_plane_state *
[all …]
H A Ddrm_plane.h54 struct drm_plane_state { struct
274 drm_plane_state_src(const struct drm_plane_state *state) in drm_plane_state_src() argument
286 drm_plane_state_dest(const struct drm_plane_state *state) in drm_plane_state_dest()
422 struct drm_plane_state *(*atomic_duplicate_state)(struct drm_plane *plane);
433 struct drm_plane_state *state);
478 struct drm_plane_state *state,
501 const struct drm_plane_state *state,
540 const struct drm_plane_state *state);
748 struct drm_plane_state *state;
1015 drm_plane_get_damage_clips_count(const struct drm_plane_state *state);
[all …]
H A Ddrm_fb_dma_helper.h10 struct drm_plane_state;
17 struct drm_plane_state *state,
21 struct drm_plane_state *old_state,
22 struct drm_plane_state *state);
H A Ddrm_atomic_uapi.h35 struct drm_plane_state;
49 drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state,
51 void drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state,
53 void drm_atomic_set_colorop_for_plane(struct drm_plane_state *plane_state,
H A Ddrm_atomic_helper.h54 int drm_atomic_helper_check_plane_state(struct drm_plane_state *plane_state,
249 static inline bool drm_atomic_plane_enabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_enabling()
250 struct drm_plane_state *new_plane_state) in drm_atomic_plane_enabling()
276 drm_atomic_plane_disabling(struct drm_plane_state *old_plane_state, in drm_atomic_plane_disabling()
277 struct drm_plane_state *new_plane_state) in drm_atomic_plane_disabling()
/linux/drivers/gpu/drm/tegra/
H A 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);
H A Dplane.c51 static struct drm_plane_state *
85 struct drm_plane_state *state) in tegra_plane_atomic_destroy_state()
201 struct drm_plane_state *state) in tegra_plane_prepare_fb()
217 struct drm_plane_state *state) in tegra_plane_cleanup_fb()
225 static int tegra_plane_calculate_memory_bandwidth(struct drm_plane_state *state) in tegra_plane_calculate_memory_bandwidth()
298 struct drm_plane_state *state) in tegra_plane_state_add()
620 struct drm_plane_state *old, *plane_state; in tegra_plane_check_transparency()
670 struct drm_plane_state *new; in tegra_plane_update_transparency()
709 struct drm_plane_state *new; in tegra_plane_setup_transparency()
/linux/drivers/gpu/drm/armada/
H A 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);
H A Darmada_plane.c38 void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3], in armada_drm_plane_calc()
85 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in armada_drm_plane_atomic_check()
135 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_primary_plane_atomic_update()
137 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_primary_plane_atomic_update()
225 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_primary_plane_atomic_disable()
270 struct drm_plane_state *armada_plane_duplicate_state(struct drm_plane *plane) in armada_plane_duplicate_state()
H A Darmada_overlay.c45 static inline u32 armada_spu_contrast(struct drm_plane_state *state) in armada_spu_contrast()
51 static inline u32 armada_spu_saturation(struct drm_plane_state *state) in armada_spu_saturation()
57 static inline u32 armada_csc(struct drm_plane_state *state) in armada_csc()
74 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_overlay_plane_atomic_update()
76 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in armada_drm_overlay_plane_atomic_update()
225 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in armada_drm_overlay_plane_atomic_disable()
266 struct drm_plane_state *plane_state; in armada_overlay_plane_update()
330 static struct drm_plane_state *
346 struct drm_plane_state *state, struct drm_property *property, in armada_overlay_set_property()
414 const struct drm_plane_state *state, struct drm_property *property, in armada_overlay_get_property()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.h36 struct drm_plane_state *old_plane_state);
39 const struct drm_plane_state *state,
42 int amdgpu_dm_plane_helper_check_state(struct drm_plane_state *state,
63 void amdgpu_dm_plane_fill_blending_from_plane_state(const struct drm_plane_state *plane_state,
/linux/drivers/gpu/drm/omapdrm/
H A Domap_plane.c26 struct drm_plane_state base;
39 bool is_omap_plane_dual_overlay(struct drm_plane_state *state) in is_omap_plane_dual_overlay()
47 struct drm_plane_state *new_state) in omap_plane_prepare_fb()
58 struct drm_plane_state *old_state) in omap_plane_cleanup_fb()
68 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update()
70 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_update()
174 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_disable()
176 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_disable()
204 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_check()
206 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in omap_plane_atomic_check()
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_plane.c50 static struct drm_plane_state *mtk_plane_duplicate_state(struct drm_plane *plane) in mtk_plane_duplicate_state()
76 struct drm_plane_state *state) in mtk_plane_destroy_state()
85 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_async_check()
113 static void mtk_plane_update_new_state(struct drm_plane_state *new_state, in mtk_plane_update_new_state()
198 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_async_update()
233 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_check()
265 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_disable()
268 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in mtk_plane_atomic_disable()
282 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in mtk_plane_atomic_update()
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c29 struct drm_plane_state base;
40 static inline struct shmob_drm_plane_state *to_shmob_plane_state(struct drm_plane_state *state) in to_shmob_plane_state()
68 struct drm_plane_state *state) in shmob_drm_primary_plane_setup()
89 struct drm_plane_state *state) in shmob_drm_overlay_plane_setup()
148 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in shmob_drm_plane_atomic_check()
197 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in shmob_drm_plane_atomic_update()
212 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in shmob_drm_plane_atomic_disable()
228 static struct drm_plane_state *
248 struct drm_plane_state *state) in shmob_drm_plane_atomic_destroy_state()
/linux/drivers/gpu/drm/
H A Ddrm_damage_helper.c70 struct drm_plane_state *plane_state) in drm_atomic_helper_check_plane_damage()
162 struct drm_plane_state *plane_state; in drm_atomic_helper_dirtyfb()
226 const struct drm_plane_state *old_state, in drm_atomic_helper_damage_iter_init()
227 const struct drm_plane_state *state) in drm_atomic_helper_damage_iter_init()
312 bool drm_atomic_helper_damage_merged(const struct drm_plane_state *old_state, in drm_atomic_helper_damage_merged()
313 const struct drm_plane_state *state, in drm_atomic_helper_damage_merged()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_plane.c53 static struct drm_plane_state *
78 struct drm_plane_state *old_state) in vkms_plane_destroy_state()
127 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in vkms_plane_atomic_update()
158 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in vkms_plane_atomic_check()
182 struct drm_plane_state *state) in vkms_prepare_fb()
201 struct drm_plane_state *state) in vkms_cleanup_fb()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c59 struct drm_plane_state *state = &exynos_state->base; in exynos_plane_mode_set()
144 static struct drm_plane_state *
160 struct drm_plane_state *old_state) in exynos_drm_plane_destroy_state()
235 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in exynos_plane_atomic_check()
259 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in exynos_plane_atomic_update()
274 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in exynos_plane_atomic_disable()
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_plane.c139 struct drm_plane_state *old_drm_plane_state; in rcar_du_atomic_check_planes()
140 struct drm_plane_state *new_drm_plane_state; in rcar_du_atomic_check_planes()
210 struct drm_plane_state *s; in rcar_du_atomic_check_planes()
593 struct drm_plane_state *state, in __rcar_du_plane_atomic_check()
640 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in rcar_du_plane_atomic_check()
651 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in rcar_du_plane_atomic_update()
652 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, plane); in rcar_du_plane_atomic_update()
689 static struct drm_plane_state *
709 struct drm_plane_state *state) in rcar_du_plane_atomic_destroy_state()
736 struct drm_plane_state *state, in rcar_du_plane_atomic_set_property()
[all …]
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c75 drm_plane_state *virtio_gpu_plane_duplicate_state(struct drm_plane *plane) in virtio_gpu_plane_duplicate_state()
102 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in virtio_gpu_plane_atomic_check()
104 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_plane_atomic_check()
135 struct drm_plane_state *state, in virtio_gpu_panic_update_dumb_bo()
158 struct drm_plane_state *state, in virtio_gpu_update_dumb_bo()
235 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_primary_plane_update()
309 struct drm_plane_state *new_state, in virtio_gpu_prepare_imported_obj()
347 struct drm_plane_state *new_state) in virtio_gpu_plane_prepare_fb()
406 struct drm_plane_state *state) in virtio_gpu_plane_cleanup_fb()
428 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in virtio_gpu_cursor_plane_update()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.h105 struct drm_plane_state *old_state;
246 struct drm_plane_state base;
415 struct drm_plane_state *old_state);
417 struct drm_plane_state *vmw_du_plane_duplicate_state(struct drm_plane *plane);
419 struct drm_plane_state *state);
508 static inline void vmw_du_translate_to_crtc(struct drm_plane_state *state, in vmw_du_translate_to_crtc()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_vsp.c176 struct drm_plane_state *state, in __rzg2l_du_vsp_plane_atomic_check()
217 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in rzg2l_du_vsp_plane_atomic_check()
227 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, plane); in rzg2l_du_vsp_plane_atomic_update()
228 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, plane); in rzg2l_du_vsp_plane_atomic_update()
244 static struct drm_plane_state *
262 struct drm_plane_state *state) in rzg2l_du_vsp_plane_atomic_destroy_state()
/linux/drivers/gpu/drm/vc4/
H A Dvc4_plane.c275 static bool plane_enabled(struct drm_plane_state *state) in plane_enabled()
280 static struct drm_plane_state *vc4_plane_duplicate_state(struct drm_plane *plane) in vc4_plane_duplicate_state()
335 struct drm_plane_state *state) in vc4_plane_destroy_state()
415 static u32 vc4_get_scl_field(struct drm_plane_state *state, int plane) in vc4_get_scl_field()
445 static int vc4_plane_margins_adj(struct drm_plane_state *pstate) in vc4_plane_margins_adj()
491 static int vc4_plane_setup_clipping_and_scaling(struct drm_plane_state *state) in vc4_plane_setup_clipping_and_scaling()
661 static u32 __vc4_lbm_size(struct drm_plane_state *state) in __vc4_lbm_size()
709 static unsigned int vc4_lbm_words_per_component(const struct drm_plane_state *state, in vc4_lbm_words_per_component()
726 static unsigned int vc4_lbm_components(const struct drm_plane_state *state, in vc4_lbm_components()
744 static unsigned int vc4_lbm_channel_size(const struct drm_plane_state *state, in vc4_lbm_channel_size()
[all …]
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_modeset.c242 struct drm_plane_state *plane_state) in drm_sysfb_plane_helper_begin_fb_access()
289 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(new_state, plane); in drm_sysfb_plane_helper_atomic_check()
333 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in drm_sysfb_plane_helper_atomic_update()
334 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in drm_sysfb_plane_helper_atomic_update()
379 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in drm_sysfb_plane_helper_atomic_disable()
438 struct drm_plane_state *drm_sysfb_plane_atomic_duplicate_state(struct drm_plane *plane) in drm_sysfb_plane_atomic_duplicate_state()
441 struct drm_plane_state *plane_state = plane->state; in drm_sysfb_plane_atomic_duplicate_state()
463 struct drm_plane_state *plane_state) in drm_sysfb_plane_atomic_destroy_state()
/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c52 struct drm_plane_state *mock; in drm_plane_helper_init()
82 static void check_src_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_src_eq()
101 static void check_crtc_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_crtc_eq()
115 struct drm_plane_state *plane_state = test->priv; in drm_test_check_plane_state()
257 struct drm_plane_state *plane_state = test->priv; in drm_test_check_invalid_plane_state()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c33 static bool plane_enabled(struct drm_plane_state *state) in plane_enabled()
65 const struct drm_plane_state *state) in mdp5_plane_atomic_print_state()
98 static struct drm_plane_state *
117 struct drm_plane_state *state) in mdp5_plane_destroy_state()
136 struct drm_plane_state *new_state) in mdp5_plane_prepare_fb()
149 struct drm_plane_state *old_state) in mdp5_plane_cleanup_fb()
162 struct drm_plane_state *state) in mdp5_plane_atomic_check_with_state()
166 struct drm_plane_state *old_state = plane->state; in mdp5_plane_atomic_check_with_state()
328 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, in mdp5_plane_atomic_check()
330 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in mdp5_plane_atomic_check()
[all …]

12345