Lines Matching full:primary
107 * creating the primary plane.
124 * Initialize a CRTC object with a default helper-provided primary plane and no
130 * 1. Primary plane cannot be repositioned.
131 * 2. Primary plane cannot be scaled.
132 * 3. Primary plane must cover the entire CRTC.
134 * 5. The primary plane must always be on if the CRTC is enabled.
137 * should instead implement their own primary plane. Atomic drivers must do so.
148 struct drm_plane *primary; in drm_crtc_init() local
152 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0, in drm_crtc_init()
157 if (IS_ERR(primary)) in drm_crtc_init()
158 return PTR_ERR(primary); in drm_crtc_init()
164 primary->format_default = true; in drm_crtc_init()
166 ret = drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs, NULL); in drm_crtc_init()
173 drm_plane_cleanup(primary); in drm_crtc_init()
174 kfree(primary); in drm_crtc_init()