Lines Matching defs:plane
19 const char *sti_plane_to_str(struct sti_plane *plane)
21 switch (plane->desc) {
41 void sti_plane_update_fps(struct sti_plane *plane,
45 struct drm_plane_state *state = plane->drm_plane.state;
53 fps = &plane->fps_info;
74 snprintf(plane->fps_info.fps_str, FPS_LENGTH,
76 plane->drm_plane.name,
81 sti_plane_to_str(plane));
89 snprintf(plane->fps_info.fips_str,
93 plane->fps_info.fips_str[0] = '\0';
98 plane->fps_info.fps_str,
99 plane->fps_info.fips_str);
115 void sti_plane_reset(struct drm_plane *plane)
117 drm_atomic_helper_plane_reset(plane);
118 plane->state->zpos = sti_plane_get_default_zpos(plane->type);
137 void sti_plane_init_property(struct sti_plane *plane,
140 sti_plane_attach_zorder_property(&plane->drm_plane, type);
142 DRM_DEBUG_DRIVER("drm plane:%d mapped to %s\n",
143 plane->drm_plane.base.id, sti_plane_to_str(plane));