Lines Matching refs:plane
102 struct sti_plane plane; member
113 #define to_sti_gdp(x) container_of(x, struct sti_gdp, plane)
198 sti_plane_to_str(&gdp->plane), hw_nvn); in sti_gdp_get_free_nodes()
230 hw_nvn, sti_plane_to_str(&gdp->plane)); in sti_gdp_get_current_nodes()
243 struct drm_plane *drm_plane = &gdp->plane.drm_plane; in sti_gdp_disable()
248 DRM_DEBUG_DRIVER("%s\n", sti_plane_to_str(&gdp->plane)); in sti_gdp_disable()
263 gdp->plane.status = STI_PLANE_DISABLED; in sti_gdp_disable()
282 if (gdp->plane.status == STI_PLANE_FLUSHING) { in sti_gdp_field_cb()
285 sti_plane_to_str(&gdp->plane)); in sti_gdp_field_cb()
351 switch (gdp->plane.desc) { in sti_gdp_init()
387 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_update() local
388 struct sti_gdp *gdp = to_sti_gdp(plane); in sti_gdp_atomic_update()
392 bool first_prepare = plane->status == STI_PLANE_DISABLED ? true : false; in sti_gdp_atomic_update()
426 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_update()
428 sti_plane_to_str(plane), in sti_gdp_atomic_update()
437 sti_plane_to_str(plane), top_field, btm_field); in sti_gdp_atomic_update()
552 sti_plane_to_str(plane)); in sti_gdp_atomic_update()
577 plane->status = STI_PLANE_UPDATED; in sti_gdp_atomic_update()
583 struct sti_plane *plane = to_sti_plane(drm_plane); in sti_gdp_atomic_disable() local
594 drm_plane->base.id, sti_plane_to_str(plane)); in sti_gdp_atomic_disable()
596 plane->status = STI_PLANE_DISABLING; in sti_gdp_atomic_disable()
621 gdp->plane.desc = desc; in sti_gdp_create()
622 gdp->plane.status = STI_PLANE_DISABLED; in sti_gdp_create()
628 res = drm_universal_plane_init(drm_dev, &gdp->plane.drm_plane, in sti_gdp_create()
639 drm_plane_helper_add(&gdp->plane.drm_plane, &sti_gdp_helpers_funcs); in sti_gdp_create()
641 sti_plane_init_property(&gdp->plane, type); in sti_gdp_create()
643 return &gdp->plane.drm_plane; in sti_gdp_create()