Lines Matching refs:primary
254 struct drm_plane *primary, in drm_crtc_init_with_planes() argument
262 WARN_ON(primary && primary->type != DRM_PLANE_TYPE_PRIMARY); in drm_crtc_init_with_planes()
309 crtc->primary = primary; in drm_crtc_init_with_planes()
311 if (primary && !primary->possible_crtcs) in drm_crtc_init_with_planes()
312 primary->possible_crtcs = drm_crtc_mask(crtc); in drm_crtc_init_with_planes()
400 plane = crtc->primary; in drm_mode_getcrtc()
461 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
470 struct drm_plane *plane = crtc->primary; in __drm_mode_set_config_internal()
477 struct drm_plane *plane = tmp->primary; in __drm_mode_set_config_internal()
530 drm_rotation_90_or_270(crtc->primary->state->rotation)) in drm_crtc_check_viewport()
585 plane = crtc->primary; in drm_mode_setcrtc()