Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpu/drm/
Ddrm_atomic.c1643 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()
[all …]
/Linux-v6.6/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c523 struct atmel_hlcdc_plane_state *primary_state; in atmel_hlcdc_plane_prepare_disc_area() local
538 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()