Lines Matching refs:primary
248 struct drm_plane *primary, in __drm_crtc_init_with_planes() argument
256 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in __drm_crtc_init_with_planes()
299 crtc->primary = primary; in __drm_crtc_init_with_planes()
301 if (primary && !primary->possible_crtcs) in __drm_crtc_init_with_planes()
302 primary->possible_crtcs = drm_crtc_mask(crtc); in __drm_crtc_init_with_planes()
355 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
366 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in drm_crtc_init_with_planes()
385 struct drm_plane *primary, in __drmm_crtc_init_with_planes() argument
395 ret = __drm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in __drmm_crtc_init_with_planes()
437 struct drm_plane *primary, in drmm_crtc_init_with_planes() argument
446 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in drmm_crtc_init_with_planes()
458 struct drm_plane *primary, in __drmm_crtc_alloc_with_planes() argument
478 ret = __drmm_crtc_init_with_planes(dev, crtc, primary, cursor, funcs, in __drmm_crtc_alloc_with_planes()
553 plane = crtc->primary; in drm_mode_getcrtc()
614 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
623 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
630 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
683 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
737 plane = crtc->primary; in drm_mode_setcrtc()