Lines Matching full:primary
103 * creating the primary plane.
120 * Initialize a CRTC object with a default helper-provided primary plane and no
126 * 1. Primary plane cannot be repositioned.
127 * 2. Primary plane cannot be scaled.
128 * 3. Primary plane must cover the entire CRTC.
130 * 5. The primary plane must always be on if the CRTC is enabled.
133 * should instead implement their own primary plane. Atomic drivers must do so.
144 struct drm_plane *primary; in drm_crtc_init() local
148 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0, in drm_crtc_init()
153 if (IS_ERR(primary)) in drm_crtc_init()
154 return PTR_ERR(primary); in drm_crtc_init()
160 primary->format_default = true; in drm_crtc_init()
162 ret = drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs, NULL); in drm_crtc_init()
169 drm_plane_cleanup(primary); in drm_crtc_init()
170 kfree(primary); in drm_crtc_init()