Lines Matching defs:plane
146 /* perform plane actions */
148 struct sti_plane *plane = to_sti_plane(p);
150 switch (plane->status) {
157 DRM_DEBUG_DRIVER("update plane %s\n",
158 sti_plane_to_str(plane));
160 if (sti_mixer_set_plane_depth(mixer, plane)) {
161 DRM_ERROR("Cannot set plane %s depth\n",
162 sti_plane_to_str(plane));
166 if (sti_mixer_set_plane_status(mixer, plane, true)) {
167 DRM_ERROR("Cannot enable plane %s at mixer\n",
168 sti_plane_to_str(plane));
172 /* if plane is HQVDP_0 then commit the vid[0] */
173 if (plane->desc == STI_HQVDP_0)
176 plane->status = STI_PLANE_READY;
181 DRM_DEBUG_DRIVER("disable plane %s from mixer\n",
182 sti_plane_to_str(plane));
184 if (sti_mixer_set_plane_status(mixer, plane, false)) {
185 DRM_ERROR("Cannot disable plane %s at mixer\n",
186 sti_plane_to_str(plane));
190 if (plane->desc == STI_CURSOR)
191 /* tag plane status for disabled */
192 plane->status = STI_PLANE_DISABLED;
194 /* tag plane status for flushing */
195 plane->status = STI_PLANE_FLUSHING;
197 /* if plane is HQVDP_0 then disable the vid[0] */
198 if (plane->desc == STI_HQVDP_0)
269 struct sti_plane *plane = to_sti_plane(p);
271 if ((plane->desc & STI_PLANE_TYPE_MASK) <= STI_VDP)
272 if (plane->status != STI_PLANE_DISABLED)