Lines Matching defs:plane
254 struct drm_plane *plane;
267 /* The scaling engine can only handle one plane at a time. */
271 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
272 struct malidp_plane *mp = to_malidp_plane(plane);
342 struct drm_plane *plane;
351 * Each plane has set its required memory size in the ->plane_check()
355 * The rotation memory allocation algorithm (for each plane):
357 * rotate memory in the bank is available for use by the plane.
358 * b. If other rotated or compressed planes exist, and plane's
362 * c. If other rotated or compressed planes exist, and plane's layer ID
366 * checked always has DE_VIDEO1 plane first in the list if it is
374 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
383 * if we have more than 1 plane using rotation memory, use the second
390 drm_atomic_crtc_state_for_each_plane_state(plane, pstate, state) {
391 struct malidp_plane *mp = to_malidp_plane(plane);
396 /* process current plane */
526 struct drm_plane *primary = NULL, *plane;
535 drm_for_each_plane(plane, drm) {
536 if (plane->type == DRM_PLANE_TYPE_PRIMARY) {
537 primary = plane;
543 DRM_ERROR("no primary plane found\n");
554 /* No inverse-gamma: it is per-plane. */