Lines Matching refs:drm_plane
181 static int sti_cursor_atomic_check(struct drm_plane *drm_plane, in sti_cursor_atomic_check() argument
184 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_check()
246 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_check()
252 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, in sti_cursor_atomic_update() argument
255 struct drm_plane_state *state = drm_plane->state; in sti_cursor_atomic_update()
256 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update()
306 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, in sti_cursor_atomic_disable() argument
309 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable()
313 drm_plane->base.id); in sti_cursor_atomic_disable()
320 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_disable()
331 static void sti_cursor_destroy(struct drm_plane *drm_plane) in sti_cursor_destroy() argument
335 drm_plane_helper_disable(drm_plane, NULL); in sti_cursor_destroy()
336 drm_plane_cleanup(drm_plane); in sti_cursor_destroy()
339 static int sti_cursor_late_register(struct drm_plane *drm_plane) in sti_cursor_late_register() argument
341 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_late_register()
344 return cursor_debugfs_init(cursor, drm_plane->dev->primary); in sti_cursor_late_register()
357 struct drm_plane *sti_cursor_create(struct drm_device *drm_dev, in sti_cursor_create()
389 res = drm_universal_plane_init(drm_dev, &cursor->plane.drm_plane, in sti_cursor_create()
400 drm_plane_helper_add(&cursor->plane.drm_plane, in sti_cursor_create()
405 return &cursor->plane.drm_plane; in sti_cursor_create()