Lines Matching refs:old_crtc_state

625 	struct drm_crtc_state *old_crtc_state, *new_crtc_state;  in drm_atomic_helper_check_modeset()  local
634 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
640 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset()
646 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset()
662 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
731 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
1130 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in disable_outputs() local
1145 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1154 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in disable_outputs()
1193 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs()
1201 if (!crtc_needs_disable(old_crtc_state, new_crtc_state)) in disable_outputs()
1466 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_modeset_enables() local
1472 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_modeset_enables()
1650 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_wait_for_vblanks() local
1661 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_wait_for_vblanks()
1673 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_wait_for_vblanks()
2276 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_setup_commit() local
2287 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_setup_commit()
2305 if (!old_crtc_state->active && !new_crtc_state->active) { in drm_atomic_helper_setup_commit()
2401 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_wait_for_dependencies() local
2409 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_wait_for_dependencies()
2410 ret = drm_crtc_commit_wait(old_crtc_state->commit); in drm_atomic_helper_wait_for_dependencies()
2494 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_hw_done() local
2498 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_hw_done()
2508 if (old_crtc_state->commit) in drm_atomic_helper_commit_hw_done()
2509 drm_crtc_commit_put(old_crtc_state->commit); in drm_atomic_helper_commit_hw_done()
2511 old_crtc_state->commit = drm_crtc_commit_get(commit); in drm_atomic_helper_commit_hw_done()
2539 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_cleanup_done() local
2543 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in drm_atomic_helper_commit_cleanup_done()
2544 commit = old_crtc_state->commit; in drm_atomic_helper_commit_cleanup_done()
2739 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_planes() local
2746 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_planes()
2809 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_commit_planes()
2854 drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state) in drm_atomic_helper_commit_planes_on_crtc() argument
2857 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_commit_planes_on_crtc()
2858 struct drm_atomic_state *old_state = old_crtc_state->state; in drm_atomic_helper_commit_planes_on_crtc()
2864 plane_mask = old_crtc_state->plane_mask; in drm_atomic_helper_commit_planes_on_crtc()
2923 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state, in drm_atomic_helper_disable_planes_on_crtc() argument
2926 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_disable_planes_on_crtc()
2934 drm_atomic_crtc_state_for_each_plane(plane, old_crtc_state) { in drm_atomic_helper_disable_planes_on_crtc()
3022 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_swap_state() local
3039 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in drm_atomic_helper_swap_state()
3040 commit = old_crtc_state->commit; in drm_atomic_helper_swap_state()
3083 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_swap_state()
3084 WARN_ON(crtc->state != old_crtc_state); in drm_atomic_helper_swap_state()
3086 old_crtc_state->state = state; in drm_atomic_helper_swap_state()
3089 state->crtcs[i].state = old_crtc_state; in drm_atomic_helper_swap_state()