Lines Matching refs:plane
577 struct drm_plane *plane = &ast_plane->base;
583 return drm_universal_plane_init(dev, plane, possible_crtcs, funcs,
589 * Primary plane
598 static int ast_primary_plane_helper_atomic_check(struct drm_plane *plane,
601 struct drm_device *dev = plane->dev;
602 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane);
640 static void ast_primary_plane_helper_atomic_update(struct drm_plane *plane,
643 struct drm_device *dev = plane->dev;
645 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane);
648 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane);
650 struct ast_plane *ast_plane = to_ast_plane(plane);
679 static void ast_primary_plane_helper_atomic_enable(struct drm_plane *plane,
682 struct ast_device *ast = to_ast_device(plane->dev);
683 struct ast_plane *ast_plane = to_ast_plane(plane);
689 * Therefore only reprogram the address after enabling the plane.
695 static void ast_primary_plane_helper_atomic_disable(struct drm_plane *plane,
698 struct ast_device *ast = to_ast_device(plane->dev);
724 u64 offset = 0; /* with shmem, the primary plane is always at offset 0 */
744 * Cursor plane
855 static int ast_cursor_plane_helper_atomic_check(struct drm_plane *plane,
858 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane);
879 static void ast_cursor_plane_helper_atomic_update(struct drm_plane *plane,
882 struct ast_plane *ast_plane = to_ast_plane(plane);
883 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane);
886 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane);
887 struct ast_device *ast = to_ast_device(plane->dev);
939 static void ast_cursor_plane_helper_atomic_disable(struct drm_plane *plane,
942 struct ast_device *ast = to_ast_device(plane->dev);
1159 * plane's color format.
1195 * plane's color format.
1241 * HW cursors require the underlying primary plane and CRTC to
1244 * plane, including the HW cursor. Each plane's atomic_update()