Lines Matching defs:primary
818 /* Always use window A as primary window */
1314 struct drm_plane *plane, *primary = NULL;
1332 * head as the primary plane.
1334 if (!primary) {
1336 primary = plane;
1342 return primary;
1348 struct drm_plane *planes[2], *primary;
1353 primary = tegra_primary_plane_create(drm, dc);
1354 if (IS_ERR(primary))
1355 return primary;
1371 primary->funcs->destroy(primary);
1376 return primary;
1721 struct drm_minor *minor = crtc->dev->primary;
1747 struct drm_minor *minor = crtc->dev->primary;
2602 struct drm_plane *primary = NULL;
2614 * assign a primary plane to them, which in turn will cause KMS to
2640 primary = tegra_dc_add_shared_planes(drm, dc);
2642 primary = tegra_dc_add_planes(drm, dc);
2644 if (IS_ERR(primary)) {
2645 err = PTR_ERR(primary);
2664 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor,
2710 if (!IS_ERR(primary))
2711 drm_plane_cleanup(primary);