Lines Matching refs:primary
227 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
235 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes()
282 crtc->primary = primary; in drm_crtc_init_with_planes()
284 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes()
285 primary->possible_crtcs = drm_crtc_mask(crtc); in drm_crtc_init_with_planes()
373 plane = crtc->primary; in drm_mode_getcrtc()
434 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
443 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
450 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
503 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
558 plane = crtc->primary; in drm_mode_setcrtc()