Lines Matching refs:new_plane_state

888 	struct drm_plane_state *new_plane_state, *old_plane_state;  in drm_atomic_helper_check_planes()  local
891 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_check_planes()
898 drm_atomic_helper_plane_changed(state, old_plane_state, new_plane_state, plane); in drm_atomic_helper_check_planes()
900 drm_atomic_helper_check_plane_damage(state, new_plane_state); in drm_atomic_helper_check_planes()
1177 struct drm_plane_state *new_plane_state; in drm_atomic_helper_update_legacy_modeset_state() local
1182 new_plane_state = in drm_atomic_helper_update_legacy_modeset_state()
1185 if (new_plane_state && new_plane_state->crtc == crtc) { in drm_atomic_helper_update_legacy_modeset_state()
1186 crtc->x = new_plane_state->src_x >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1187 crtc->y = new_plane_state->src_y >> 16; in drm_atomic_helper_update_legacy_modeset_state()
1436 struct drm_plane_state *new_plane_state; in drm_atomic_helper_wait_for_fences() local
1439 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in drm_atomic_helper_wait_for_fences()
1440 if (!new_plane_state->fence) in drm_atomic_helper_wait_for_fences()
1443 WARN_ON(!new_plane_state->fb); in drm_atomic_helper_wait_for_fences()
1450 ret = dma_fence_wait(new_plane_state->fence, pre_swap); in drm_atomic_helper_wait_for_fences()
1454 dma_fence_put(new_plane_state->fence); in drm_atomic_helper_wait_for_fences()
1455 new_plane_state->fence = NULL; in drm_atomic_helper_wait_for_fences()
1708 struct drm_plane_state *new_plane_state = NULL; in drm_atomic_helper_async_check() local
1717 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) in drm_atomic_helper_async_check()
1724 if (!new_plane_state->crtc || in drm_atomic_helper_async_check()
1725 old_plane_state->crtc != new_plane_state->crtc) in drm_atomic_helper_async_check()
1732 if (new_plane_state->fence) in drm_atomic_helper_async_check()
2091 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_setup_commit() local
2167 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_setup_commit()
2181 commit = crtc_or_fake_commit(state, new_plane_state->crtc ?: old_plane_state->crtc); in drm_atomic_helper_setup_commit()
2185 new_plane_state->commit = drm_crtc_commit_get(commit); in drm_atomic_helper_setup_commit()
2388 struct drm_plane_state *new_plane_state; in drm_atomic_helper_prepare_planes() local
2400 for_each_new_plane_in_state(state, plane, new_plane_state, i) { in drm_atomic_helper_prepare_planes()
2406 ret = funcs->prepare_fb(plane, new_plane_state); in drm_atomic_helper_prepare_planes()
2415 ret = drm_gem_plane_helper_prepare_fb(plane, new_plane_state); in drm_atomic_helper_prepare_planes()
2424 for_each_new_plane_in_state(state, plane, new_plane_state, j) { in drm_atomic_helper_prepare_planes()
2433 funcs->cleanup_fb(plane, new_plane_state); in drm_atomic_helper_prepare_planes()
2493 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_commit_planes() local
2512 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_commit_planes()
2522 new_plane_state); in drm_atomic_helper_commit_planes()
2532 if (!disabling && !plane_crtc_active(new_plane_state)) in drm_atomic_helper_commit_planes()
2551 } else if (new_plane_state->crtc || disabling) { in drm_atomic_helper_commit_planes()
2610 struct drm_plane_state *new_plane_state = in drm_atomic_helper_commit_planes_on_crtc() local
2619 WARN_ON(new_plane_state->crtc && in drm_atomic_helper_commit_planes_on_crtc()
2620 new_plane_state->crtc != crtc); in drm_atomic_helper_commit_planes_on_crtc()
2622 if (drm_atomic_plane_disabling(old_plane_state, new_plane_state) && in drm_atomic_helper_commit_planes_on_crtc()
2625 else if (new_plane_state->crtc || in drm_atomic_helper_commit_planes_on_crtc()
2626 drm_atomic_plane_disabling(old_plane_state, new_plane_state)) in drm_atomic_helper_commit_planes_on_crtc()
2696 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_cleanup_planes() local
2699 for_each_oldnew_plane_in_state(old_state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_cleanup_planes()
2708 plane_state = new_plane_state; in drm_atomic_helper_cleanup_planes()
2764 struct drm_plane_state *old_plane_state, *new_plane_state; in drm_atomic_helper_swap_state() local
2842 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in drm_atomic_helper_swap_state()
2846 new_plane_state->state = NULL; in drm_atomic_helper_swap_state()
2849 plane->state = new_plane_state; in drm_atomic_helper_swap_state()
3293 struct drm_plane_state *new_plane_state; in drm_atomic_helper_commit_duplicated_state() local
3301 for_each_new_plane_in_state(state, plane, new_plane_state, i) in drm_atomic_helper_commit_duplicated_state()