Searched refs:primary_state (Results 1 – 2 of 2) sorted by relevance
1572 struct drm_plane_state *primary_state; in __drm_atomic_helper_set_config() local1581 primary_state = drm_atomic_get_plane_state(state, crtc->primary); in __drm_atomic_helper_set_config()1582 if (IS_ERR(primary_state)) in __drm_atomic_helper_set_config()1583 return PTR_ERR(primary_state); in __drm_atomic_helper_set_config()1595 ret = drm_atomic_set_crtc_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()1599 drm_atomic_set_fb_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()1613 ret = drm_atomic_set_crtc_for_plane(primary_state, crtc); in __drm_atomic_helper_set_config()1619 drm_atomic_set_fb_for_plane(primary_state, set->fb); in __drm_atomic_helper_set_config()1620 primary_state->crtc_x = 0; in __drm_atomic_helper_set_config()1621 primary_state->crtc_y = 0; in __drm_atomic_helper_set_config()[all …]
523 struct atmel_hlcdc_plane_state *primary_state; in atmel_hlcdc_plane_prepare_disc_area() local538 primary_state = drm_plane_state_to_atmel_hlcdc_plane_state(primary_s); in atmel_hlcdc_plane_prepare_disc_area()569 primary_state->disc_x = disc_x; in atmel_hlcdc_plane_prepare_disc_area()570 primary_state->disc_y = disc_y; in atmel_hlcdc_plane_prepare_disc_area()571 primary_state->disc_w = disc_w; in atmel_hlcdc_plane_prepare_disc_area()572 primary_state->disc_h = disc_h; in atmel_hlcdc_plane_prepare_disc_area()