Lines Matching refs:primary_state

1643 	struct drm_plane_state *primary_state;  in __drm_atomic_helper_set_config()  local
1652 primary_state = drm_atomic_get_plane_state(state, crtc->primary); in __drm_atomic_helper_set_config()
1653 if (IS_ERR(primary_state)) in __drm_atomic_helper_set_config()
1654 return PTR_ERR(primary_state); in __drm_atomic_helper_set_config()
1666 ret = drm_atomic_set_crtc_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()
1670 drm_atomic_set_fb_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()
1684 ret = drm_atomic_set_crtc_for_plane(primary_state, crtc); in __drm_atomic_helper_set_config()
1690 drm_atomic_set_fb_for_plane(primary_state, set->fb); in __drm_atomic_helper_set_config()
1691 primary_state->crtc_x = 0; in __drm_atomic_helper_set_config()
1692 primary_state->crtc_y = 0; in __drm_atomic_helper_set_config()
1693 primary_state->crtc_w = hdisplay; in __drm_atomic_helper_set_config()
1694 primary_state->crtc_h = vdisplay; in __drm_atomic_helper_set_config()
1695 primary_state->src_x = set->x << 16; in __drm_atomic_helper_set_config()
1696 primary_state->src_y = set->y << 16; in __drm_atomic_helper_set_config()
1697 if (drm_rotation_90_or_270(primary_state->rotation)) { in __drm_atomic_helper_set_config()
1698 primary_state->src_w = vdisplay << 16; in __drm_atomic_helper_set_config()
1699 primary_state->src_h = hdisplay << 16; in __drm_atomic_helper_set_config()
1701 primary_state->src_w = hdisplay << 16; in __drm_atomic_helper_set_config()
1702 primary_state->src_h = vdisplay << 16; in __drm_atomic_helper_set_config()