Lines Matching refs:plane
101 armada_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in armada_plane_update() argument
106 struct armada_plane *dplane = drm_to_armada_plane(plane); in armada_plane_update()
129 if (!dcrtc->plane) { in armada_plane_update()
130 dcrtc->plane = plane; in armada_plane_update()
136 if (plane->fb == fb && dplane->ctrl0 == ctrl0) { in armada_plane_update()
159 if (plane->fb != fb) { in armada_plane_update()
169 if (plane->fb) { in armada_plane_update()
174 dplane->old_fb = plane->fb; in armada_plane_update()
245 static int armada_plane_disable(struct drm_plane *plane) in armada_plane_disable() argument
247 struct armada_plane *dplane = drm_to_armada_plane(plane); in armada_plane_disable()
255 dcrtc->plane = NULL; in armada_plane_disable()
267 if (plane->fb) in armada_plane_disable()
268 drm_framebuffer_unreference(plane->fb); in armada_plane_disable()
280 static void armada_plane_destroy(struct drm_plane *plane) in armada_plane_destroy() argument
282 kfree(plane); in armada_plane_destroy()
285 static int armada_plane_set_property(struct drm_plane *plane, in armada_plane_set_property() argument
288 struct armada_private *priv = plane->dev->dev_private; in armada_plane_set_property()
289 struct armada_plane *dplane = drm_to_armada_plane(plane); in armada_plane_set_property()