Lines Matching refs:new_plane_state
721 struct drm_plane_state *new_plane_state, *old_plane_state; in drm_atomic_helper_check_planes() local
724 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
731 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
736 ret = funcs->atomic_check(plane, new_plane_state); in drm_atomic_helper_check_planes()
948 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local
953 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
956 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
957 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
958 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1161 struct drm_plane_state *new_plane_state; in drm_atomic_helper_wait_for_fences() local
1164 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in drm_atomic_helper_wait_for_fences()
1165 if (!new_plane_state->fence) in drm_atomic_helper_wait_for_fences()
1168 WARN_ON(!new_plane_state->fb); in drm_atomic_helper_wait_for_fences()
1175 ret = dma_fence_wait(new_plane_state->fence, pre_swap); in drm_atomic_helper_wait_for_fences()
1179 dma_fence_put(new_plane_state->fence); in drm_atomic_helper_wait_for_fences()
1180 new_plane_state->fence = NULL; in drm_atomic_helper_wait_for_fences()
1948 struct drm_plane_state *new_plane_state; in drm_atomic_helper_prepare_planes() local
1951 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in drm_atomic_helper_prepare_planes()
1957 ret = funcs->prepare_fb(plane, new_plane_state); in drm_atomic_helper_prepare_planes()
1966 for_each_new_plane_in_state(state, plane, new_plane_state, j) { in drm_atomic_helper_prepare_planes()
1975 funcs->cleanup_fb(plane, new_plane_state); in drm_atomic_helper_prepare_planes()
2035 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_commit_planes() local
2054 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_commit_planes()
2064 new_plane_state); in drm_atomic_helper_commit_planes()
2074 if (!disabling && !plane_crtc_active(new_plane_state)) in drm_atomic_helper_commit_planes()
2093 } else if (new_plane_state->crtc || disabling) { in drm_atomic_helper_commit_planes()
2233 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_cleanup_planes() local
2236 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_cleanup_planes()
2245 plane_state = new_plane_state; in drm_atomic_helper_cleanup_planes()
2301 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_swap_state() local
2355 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_swap_state()
2359 new_plane_state->state = NULL; in drm_atomic_helper_swap_state()
2362 plane->state = new_plane_state; in drm_atomic_helper_swap_state()
2914 struct drm_plane_state *new_plane_state; in drm_atomic_helper_commit_duplicated_state() local
2922 for_each_new_plane_in_state(state, plane, new_plane_state, i) in drm_atomic_helper_commit_duplicated_state()