Lines Matching refs:primary
103 * creating the primary plane.
120 * Initialize a CRTC object with a default helper-provided primary plane and no
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;
148 primary = __drm_universal_plane_alloc(dev, sizeof(*primary), 0, 0,
153 if (IS_ERR(primary))
154 return PTR_ERR(primary);
160 primary->format_default = true;
162 ret = drm_crtc_init_with_planes(dev, crtc, primary, NULL, funcs, NULL);
169 drm_plane_cleanup(primary);
170 kfree(primary);