Lines Matching defs:primary
796 /* Always use window A as primary window */
1128 struct drm_plane *plane, *primary = NULL;
1146 * head as the primary plane.
1148 if (!primary) {
1150 primary = plane;
1156 return primary;
1162 struct drm_plane *planes[2], *primary;
1167 primary = tegra_primary_plane_create(drm, dc);
1168 if (IS_ERR(primary))
1169 return primary;
1185 tegra_plane_funcs.destroy(primary);
1190 return primary;
1530 struct drm_minor *minor = crtc->dev->primary;
1556 struct drm_minor *minor = crtc->dev->primary;
2036 struct drm_plane *primary = NULL;
2042 * assign a primary plane to them, which in turn will cause KMS to
2068 primary = tegra_dc_add_shared_planes(drm, dc);
2070 primary = tegra_dc_add_planes(drm, dc);
2072 if (IS_ERR(primary)) {
2073 err = PTR_ERR(primary);
2092 err = drm_crtc_init_with_planes(drm, &dc->base, primary, cursor,
2132 if (!IS_ERR(primary))
2133 drm_plane_cleanup(primary);