Lines Matching defs:plane

123 	struct sti_plane plane;
135 #define to_sti_gdp(x) container_of(x, struct sti_gdp, plane)
219 struct drm_plane *drm_plane = &gdp->plane.drm_plane;
227 sti_plane_to_str(&gdp->plane), gdp->regs);
289 seq_printf(s, "\n%s[%d].top", sti_plane_to_str(&gdp->plane), b);
291 seq_printf(s, "\n%s[%d].btm", sti_plane_to_str(&gdp->plane), b);
324 switch (gdp->plane.desc) {
413 sti_plane_to_str(&gdp->plane), hw_nvn);
445 hw_nvn, sti_plane_to_str(&gdp->plane));
460 DRM_DEBUG_DRIVER("%s\n", sti_plane_to_str(&gdp->plane));
474 gdp->plane.status = STI_PLANE_DISABLED;
494 if (gdp->plane.status == STI_PLANE_FLUSHING) {
497 sti_plane_to_str(&gdp->plane));
562 switch (gdp->plane.desc) {
624 struct sti_plane *plane = to_sti_plane(drm_plane);
625 struct sti_gdp *gdp = to_sti_gdp(plane);
635 /* no need for further checks if the plane is being disabled */
692 DRM_DEBUG_KMS("CRTC:%d (%s) drm plane:%d (%s)\n",
694 drm_plane->base.id, sti_plane_to_str(plane));
696 sti_plane_to_str(plane),
710 struct sti_plane *plane = to_sti_plane(drm_plane);
711 struct sti_gdp *gdp = to_sti_gdp(plane);
741 plane->status = STI_PLANE_UPDATED;
771 sti_plane_to_str(plane), top_field, btm_field);
841 sti_plane_to_str(plane));
866 sti_plane_update_fps(plane, true, false);
868 plane->status = STI_PLANE_UPDATED;
876 struct sti_plane *plane = to_sti_plane(drm_plane);
879 DRM_DEBUG_DRIVER("drm plane:%d not enabled\n",
884 DRM_DEBUG_DRIVER("CRTC:%d (%s) drm plane:%d (%s)\n",
887 drm_plane->base.id, sti_plane_to_str(plane));
889 plane->status = STI_PLANE_DISABLING;
900 struct sti_plane *plane = to_sti_plane(drm_plane);
901 struct sti_gdp *gdp = to_sti_gdp(plane);
933 gdp->plane.desc = desc;
934 gdp->plane.status = STI_PLANE_DISABLED;
940 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane,
947 DRM_ERROR("Failed to initialize universal plane\n");
951 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs);
953 sti_plane_init_property(&gdp->plane, type);
955 return &gdp->plane.drm_plane;