Lines Matching refs:new_crtc_state
369 const struct drm_crtc_state *new_crtc_state) in drm_atomic_crtc_check() argument
371 struct drm_crtc *crtc = new_crtc_state->crtc; in drm_atomic_crtc_check()
381 if (new_crtc_state->active && !new_crtc_state->enable) { in drm_atomic_crtc_check()
392 WARN_ON(new_crtc_state->enable && !new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
399 WARN_ON(!new_crtc_state->enable && new_crtc_state->mode_blob)) { in drm_atomic_crtc_check()
415 if (new_crtc_state->event && in drm_atomic_crtc_check()
416 !new_crtc_state->active && !old_crtc_state->active) { in drm_atomic_crtc_check()
1304 struct drm_crtc_state *new_crtc_state; in drm_atomic_check_only() local
1313 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) in drm_atomic_check_only()
1325 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_check_only()
1326 ret = drm_atomic_crtc_check(old_crtc_state, new_crtc_state); in drm_atomic_check_only()
1354 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in drm_atomic_check_only()
1355 if (drm_atomic_crtc_needs_modeset(new_crtc_state)) { in drm_atomic_check_only()
1363 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) in drm_atomic_check_only()
1474 struct drm_crtc_state *new_crtc_state; in update_output_state() local
1514 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in update_output_state()
1524 if (!new_crtc_state->connector_mask) { in update_output_state()
1525 ret = drm_atomic_set_mode_prop_for_crtc(new_crtc_state, in update_output_state()
1530 new_crtc_state->active = false; in update_output_state()