Lines Matching refs:drm_plane
113 static void sti_cursor_atomic_update(struct drm_plane *drm_plane, in sti_cursor_atomic_update() argument
116 struct drm_plane_state *state = drm_plane->state; in sti_cursor_atomic_update()
117 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_update()
137 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_update()
214 static void sti_cursor_atomic_disable(struct drm_plane *drm_plane, in sti_cursor_atomic_disable() argument
217 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_cursor_atomic_disable()
218 struct sti_mixer *mixer = to_sti_mixer(drm_plane->crtc); in sti_cursor_atomic_disable()
220 if (!drm_plane->crtc) { in sti_cursor_atomic_disable()
222 drm_plane->base.id); in sti_cursor_atomic_disable()
227 drm_plane->crtc->base.id, sti_mixer_to_str(mixer), in sti_cursor_atomic_disable()
228 drm_plane->base.id, sti_plane_to_str(plane)); in sti_cursor_atomic_disable()
238 struct drm_plane *sti_cursor_create(struct drm_device *drm_dev, 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()
286 return &cursor->plane.drm_plane; in sti_cursor_create()