Lines Matching full:primary

246 				       struct drm_plane *primary,  in __drm_crtc_init_with_planes()  argument
254 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in __drm_crtc_init_with_planes()
297 crtc->primary = primary; in __drm_crtc_init_with_planes()
299 if (primary && !primary->possible_crtcs) in __drm_crtc_init_with_planes()
300 primary->possible_crtcs = drm_crtc_mask(crtc); in __drm_crtc_init_with_planes()
324 * specified primary and cursor planes.
327 * @primary: Primary plane for CRTC
341 * The @primary and @cursor planes are only relevant for legacy uAPI, see
342 * &drm_crtc.primary and &drm_crtc.cursor.
352 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
363 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in drm_crtc_init_with_planes()
381 struct drm_plane *primary, in __drmm_crtc_alloc_with_planes() argument
401 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in __drmm_crtc_alloc_with_planes()
481 plane = crtc->primary; in drm_mode_getcrtc()
542 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
551 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
558 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
611 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
666 plane = crtc->primary; in drm_mode_setcrtc()
668 /* allow disabling with the primary plane leased */ in drm_mode_setcrtc()
727 * Check whether the primary plane supports the fb pixel format. in drm_mode_setcrtc()