Home | History | Annotate | Download | only in drm

Lines Matching defs:primary

107  * creating the primary plane.  However drivers that still call
117 struct drm_plane *primary;
120 primary = kzalloc(sizeof(*primary), GFP_KERNEL);
121 if (primary == NULL) {
122 DRM_DEBUG_KMS("Failed to allocate primary plane\n");
130 primary->format_default = true;
133 ret = drm_universal_plane_init(dev, primary, 0,
140 kfree(primary);
141 primary = NULL;
144 return primary;
153 * Initialize a CRTC object with a default helper-provided primary plane and no
159 * 1. Primary plane cannot be repositioned.
160 * 2. Primary plane cannot be scaled.
161 * 3. Primary plane must cover the entire CRTC.
163 * 5. The primary plane must always be on if the CRTC is enabled.
166 * should instead implement their own primary plane. Atomic drivers must do so.
177 struct drm_plane *primary;
179 primary = create_primary_plane(dev);
180 return drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs,