Lines Matching refs:plane
61 struct sti_plane plane; member
75 #define to_sti_cursor(x) container_of(x, struct sti_cursor, plane)
117 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update() local
118 struct sti_cursor *cursor = to_sti_cursor(plane); in sti_cursor_atomic_update()
130 bool first_prepare = plane->status == STI_PLANE_DISABLED ? true : false; in sti_cursor_atomic_update()
137 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_update()
141 sti_plane_to_str(plane)); in sti_cursor_atomic_update()
211 plane->status = STI_PLANE_UPDATED; in sti_cursor_atomic_update()
217 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable() local
228 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_disable()
230 plane->status = STI_PLANE_DISABLING; in sti_cursor_atomic_disable()
265 cursor->plane.desc = desc; in sti_cursor_create()
266 cursor->plane.status = STI_PLANE_DISABLED; in sti_cursor_create()
270 res = drm_universal_plane_init(drm_dev, &cursor->plane.drm_plane, in sti_cursor_create()
281 drm_plane_helper_add(&cursor->plane.drm_plane, in sti_cursor_create()
284 sti_plane_init_property(&cursor->plane, DRM_PLANE_TYPE_CURSOR); in sti_cursor_create()
286 return &cursor->plane.drm_plane; in sti_cursor_create()