Lines Matching refs:plane
147 /* perform plane actions */
149 struct sti_plane *plane = to_sti_plane(p);
151 switch (plane->status) {
158 DRM_DEBUG_DRIVER("update plane %s\n",
159 sti_plane_to_str(plane));
161 if (sti_mixer_set_plane_depth(mixer, plane)) {
162 DRM_ERROR("Cannot set plane %s depth\n",
163 sti_plane_to_str(plane));
167 if (sti_mixer_set_plane_status(mixer, plane, true)) {
168 DRM_ERROR("Cannot enable plane %s at mixer\n",
169 sti_plane_to_str(plane));
173 /* if plane is HQVDP_0 then commit the vid[0] */
174 if (plane->desc == STI_HQVDP_0)
177 plane->status = STI_PLANE_READY;
182 DRM_DEBUG_DRIVER("disable plane %s from mixer\n",
183 sti_plane_to_str(plane));
185 if (sti_mixer_set_plane_status(mixer, plane, false)) {
186 DRM_ERROR("Cannot disable plane %s at mixer\n",
187 sti_plane_to_str(plane));
191 if (plane->desc == STI_CURSOR)
192 /* tag plane status for disabled */
193 plane->status = STI_PLANE_DISABLED;
195 /* tag plane status for flushing */
196 plane->status = STI_PLANE_FLUSHING;
198 /* if plane is HQVDP_0 then disable the vid[0] */
199 if (plane->desc == STI_HQVDP_0)
270 struct sti_plane *plane = to_sti_plane(p);
272 if ((plane->desc & STI_PLANE_TYPE_MASK) <= STI_VDP)
273 if (plane->status != STI_PLANE_DISABLED)