Lines Matching refs:old_crtc_state

619 	struct drm_crtc_state *old_crtc_state, *new_crtc_state;  in drm_atomic_helper_check_modeset()  local
625 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
631 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset()
637 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset()
653 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
721 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
1118 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in disable_outputs() local
1133 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1142 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in disable_outputs()
1181 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs()
1189 if (!crtc_needs_disable(old_crtc_state, new_crtc_state)) in disable_outputs()
1445 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_modeset_enables() local
1451 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_modeset_enables()
1586 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_wait_for_vblanks() local
1597 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_wait_for_vblanks()
1609 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_wait_for_vblanks()
2213 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_setup_commit() local
2224 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_setup_commit()
2242 if (!old_crtc_state->active && !new_crtc_state->active) { in drm_atomic_helper_setup_commit()
2338 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_wait_for_dependencies() local
2346 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_wait_for_dependencies()
2347 ret = drm_crtc_commit_wait(old_crtc_state->commit); in drm_atomic_helper_wait_for_dependencies()
2431 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_hw_done() local
2435 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_hw_done()
2445 if (old_crtc_state->commit) in drm_atomic_helper_commit_hw_done()
2446 drm_crtc_commit_put(old_crtc_state->commit); in drm_atomic_helper_commit_hw_done()
2448 old_crtc_state->commit = drm_crtc_commit_get(commit); in drm_atomic_helper_commit_hw_done()
2476 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_cleanup_done() local
2480 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_commit_cleanup_done()
2481 commit = old_crtc_state->commit; in drm_atomic_helper_commit_cleanup_done()
2643 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_planes() local
2650 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_planes()
2708 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_planes()
2742 drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state) in drm_atomic_helper_commit_planes_on_crtc() argument
2745 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_commit_planes_on_crtc()
2746 struct drm_atomic_state *old_state = old_crtc_state->state; in drm_atomic_helper_commit_planes_on_crtc()
2752 plane_mask = old_crtc_state->plane_mask; in drm_atomic_helper_commit_planes_on_crtc()
2804 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state, in drm_atomic_helper_disable_planes_on_crtc() argument
2807 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_disable_planes_on_crtc()
2815 drm_atomic_crtc_state_for_each_plane(plane, old_crtc_state) { in drm_atomic_helper_disable_planes_on_crtc()
2921 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_swap_state() local
2938 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in drm_atomic_helper_swap_state()
2939 commit = old_crtc_state->commit; in drm_atomic_helper_swap_state()
2982 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_swap_state()
2983 WARN_ON(crtc->state != old_crtc_state); in drm_atomic_helper_swap_state()
2985 old_crtc_state->state = state; in drm_atomic_helper_swap_state()
2988 state->crtcs[i].state = old_crtc_state; in drm_atomic_helper_swap_state()