| /linux/include/drm/ |
| H A D | drm_gem_atomic_helper.h | 18 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 D | drm_simple_kms_helper.h | 64 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); 146 struct drm_plane_state *new_plane_state); 156 struct drm_plane_state *plane_state); 218 struct drm_plane_state * (*duplicate_plane_state)(struct drm_simple_display_pipe *pipe); 228 struct drm_plane_state *plane_state);
|
| H A D | drm_atomic_state_helper.h | 35 struct drm_plane_state; 56 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *state, 59 struct drm_plane_state *state); 62 struct drm_plane_state *state); 63 struct drm_plane_state * 65 void __drm_atomic_helper_plane_destroy_state(struct drm_plane_state *state); 67 struct drm_plane_state *state);
|
| H A D | drm_plane.h | 54 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 D | drm_fb_dma_helper.h | 10 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 D | drm_atomic_uapi.h | 35 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 D | drm_mipi_dbi.h | 178 struct drm_plane_state *old_state); 181 struct drm_plane_state *plan_state); 184 struct drm_plane_state *plane_state); 186 struct drm_plane_state *plane_state); 188 struct drm_plane_state *mipi_dbi_pipe_duplicate_plane_state(struct drm_simple_display_pipe *pipe); 190 struct drm_plane_state *plane_state);
|
| H A D | drm_atomic_helper.h | 54 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/ |
| H A D | drm_gem_atomic_helper.c | 137 struct drm_plane_state *state) in drm_gem_plane_helper_prepare_fb() 222 struct drm_plane_state *plane_state = plane->state; in __drm_gem_duplicate_shadow_plane_state() 250 struct drm_plane_state * 253 struct drm_plane_state *plane_state = plane->state; in drm_gem_duplicate_shadow_plane_state() 292 struct drm_plane_state *plane_state) in drm_gem_destroy_shadow_plane_state() 360 int drm_gem_begin_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_begin_shadow_fb_access() 382 void drm_gem_end_shadow_fb_access(struct drm_plane *plane, struct drm_plane_state *plane_state) in drm_gem_end_shadow_fb_access() 408 struct drm_plane_state *plane_state) in drm_gem_simple_kms_begin_shadow_fb_access() 426 struct drm_plane_state *plane_state) in drm_gem_simple_kms_end_shadow_fb_access() 457 struct drm_plane_state * [all …]
|
| H A D | drm_blend.c | 439 const struct drm_plane_state *sa = *(struct drm_plane_state **)a; in drm_atomic_state_zpos_cmp() 440 const struct drm_plane_state *sb = *(struct drm_plane_state **)b; in drm_atomic_state_zpos_cmp() 454 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() 471 struct drm_plane_state *plane_state = in drm_atomic_helper_crtc_normalize_zpos() 522 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_normalize_zpos()
|
| H A D | drm_damage_helper.c | 70 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/tegra/ |
| H A D | plane.h | 44 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/drivers/gpu/drm/armada/ |
| H A D | armada_plane.h | 5 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_plane.h | 36 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 D | omap_plane.c | 26 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 D | mtk_plane.c | 50 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 D | shmob_drm_plane.c | 29 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/vkms/ |
| H A D | vkms_plane.c | 53 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/imx/ipuv3/ |
| H A D | ipuv3-plane.c | 25 struct drm_plane_state base; 30 to_ipu_plane_state(struct drm_plane_state *p) in to_ipu_plane_state() 35 static unsigned int ipu_src_rect_width(const struct drm_plane_state *state) in ipu_src_rect_width() 126 drm_plane_state_to_eba(struct drm_plane_state *state, int plane) in drm_plane_state_to_eba() 141 drm_plane_state_to_ubo(struct drm_plane_state *state) in drm_plane_state_to_ubo() 160 drm_plane_state_to_vbo(struct drm_plane_state *state) in drm_plane_state_to_vbo() 317 static struct drm_plane_state * 333 struct drm_plane_state *state) in ipu_plane_destroy_state() 370 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in ipu_plane_atomic_check() 372 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state, in ipu_plane_atomic_check() [all …]
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_plane.c | 59 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 D | rcar_du_plane.c | 139 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 D | virtgpu_plane.c | 75 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/vc4/ |
| H A D | vc4_plane.c | 275 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 D | drm_sysfb_helper.h | 102 to_drm_sysfb_plane_state(struct drm_plane_state *base) in to_drm_sysfb_plane_state() 112 struct drm_plane_state *plane_state); 138 struct drm_plane_state *drm_sysfb_plane_atomic_duplicate_state(struct drm_plane *plane); 140 struct drm_plane_state *plane_state);
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.h | 105 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()
|