Lines Matching refs:primary
248 struct drm_plane *primary,
256 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY);
299 crtc->primary = primary;
301 if (primary && !primary->possible_crtcs)
302 primary->possible_crtcs = drm_crtc_mask(crtc);
326 * specified primary and cursor planes.
329 * @primary: Primary plane for CRTC
343 * The @primary and @cursor planes are only relevant for legacy uAPI, see
344 * &drm_crtc.primary and &drm_crtc.cursor.
355 struct drm_plane *primary,
366 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
385 struct drm_plane *primary,
395 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
410 * specified primary and cursor planes.
413 * @primary: Primary plane for CRTC
430 * The @primary and @cursor planes are only relevant for legacy uAPI, see
431 * &drm_crtc.primary and &drm_crtc.cursor.
437 struct drm_plane *primary,
446 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
458 struct drm_plane *primary,
478 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs,
553 plane = crtc->primary;
614 struct drm_plane *plane = tmp->primary;
623 struct drm_plane *plane = crtc->primary;
630 struct drm_plane *plane = tmp->primary;
683 drm_rotation_90_or_270(crtc->primary->state->rotation))
737 plane = crtc->primary;
739 /* allow disabling with the primary plane leased */
798 * Check whether the primary plane supports the fb pixel format.