Home
last modified time | relevance | path

Searched refs:primary_state (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/
Ddrm_atomic.c1355 struct drm_plane_state *primary_state; in __drm_atomic_helper_set_config() local
1364 primary_state = drm_atomic_get_plane_state(state, crtc->primary); in __drm_atomic_helper_set_config()
1365 if (IS_ERR(primary_state)) in __drm_atomic_helper_set_config()
1366 return PTR_ERR(primary_state); in __drm_atomic_helper_set_config()
1378 ret = drm_atomic_set_crtc_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()
1382 drm_atomic_set_fb_for_plane(primary_state, NULL); in __drm_atomic_helper_set_config()
1396 ret = drm_atomic_set_crtc_for_plane(primary_state, crtc); in __drm_atomic_helper_set_config()
1402 drm_atomic_set_fb_for_plane(primary_state, set->fb); in __drm_atomic_helper_set_config()
1403 primary_state->crtc_x = 0; in __drm_atomic_helper_set_config()
1404 primary_state->crtc_y = 0; in __drm_atomic_helper_set_config()
[all …]
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c521 struct atmel_hlcdc_plane_state *primary_state; in atmel_hlcdc_plane_prepare_disc_area() local
536 primary_state = drm_plane_state_to_atmel_hlcdc_plane_state(primary_s); in atmel_hlcdc_plane_prepare_disc_area()
567 primary_state->disc_x = disc_x; in atmel_hlcdc_plane_prepare_disc_area()
568 primary_state->disc_y = disc_y; in atmel_hlcdc_plane_prepare_disc_area()
569 primary_state->disc_w = disc_w; in atmel_hlcdc_plane_prepare_disc_area()
570 primary_state->disc_h = disc_h; in atmel_hlcdc_plane_prepare_disc_area()