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