Lines Matching full:plane

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