Lines Matching refs:primary
236 struct drm_plane *primary,
244 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY);
286 crtc->primary = primary;
288 if (primary && !primary->possible_crtcs)
289 primary->possible_crtcs = drm_crtc_mask(crtc);
313 * specified primary and cursor planes.
316 * @primary: Primary plane for CRTC
330 * The @primary and @cursor planes are only relevant for legacy uAPI, see
331 * &drm_crtc.primary and &drm_crtc.cursor.
342 struct drm_plane *primary,
353 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
372 struct drm_plane *primary,
382 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
397 * specified primary and cursor planes.
400 * @primary: Primary plane for CRTC
417 * The @primary and @cursor planes are only relevant for legacy uAPI, see
418 * &drm_crtc.primary and &drm_crtc.cursor.
424 struct drm_plane *primary,
433 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
445 struct drm_plane *primary,
465 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
540 plane = crtc->primary;
601 struct drm_plane *plane = tmp->primary;
610 struct drm_plane *plane = crtc->primary;
617 struct drm_plane *plane = tmp->primary;
670 drm_rotation_90_or_270(crtc->primary->state->rotation))
724 plane = crtc->primary;
726 /* allow disabling with the primary plane leased */
785 * Check whether the primary plane supports the fb pixel format.