Lines Matching refs:new_crtc_state

1465 	struct intel_crtc_state *new_crtc_state =  in g4x_compute_intermediate_wm()  local
1469 struct g4x_wm_state *intermediate = &new_crtc_state->wm.g4x.intermediate; in g4x_compute_intermediate_wm()
1470 const struct g4x_wm_state *optimal = &new_crtc_state->wm.g4x.optimal; in g4x_compute_intermediate_wm()
1474 if (!new_crtc_state->hw.active || in g4x_compute_intermediate_wm()
1475 drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi)) { in g4x_compute_intermediate_wm()
1484 !new_crtc_state->disable_cxsr; in g4x_compute_intermediate_wm()
1486 !new_crtc_state->disable_cxsr; in g4x_compute_intermediate_wm()
1538 new_crtc_state->wm.need_postvbl_update = true; in g4x_compute_intermediate_wm()
2109 struct intel_crtc_state *new_crtc_state = in vlv_compute_intermediate_wm() local
2113 struct vlv_wm_state *intermediate = &new_crtc_state->wm.vlv.intermediate; in vlv_compute_intermediate_wm()
2114 const struct vlv_wm_state *optimal = &new_crtc_state->wm.vlv.optimal; in vlv_compute_intermediate_wm()
2118 if (!new_crtc_state->hw.active || in vlv_compute_intermediate_wm()
2119 drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi)) { in vlv_compute_intermediate_wm()
2128 !new_crtc_state->disable_cxsr; in vlv_compute_intermediate_wm()
2153 new_crtc_state->wm.need_postvbl_update = true; in vlv_compute_intermediate_wm()
3242 struct intel_crtc_state *new_crtc_state = in ilk_compute_intermediate_wm() local
3246 struct intel_pipe_wm *a = &new_crtc_state->wm.ilk.intermediate; in ilk_compute_intermediate_wm()
3255 *a = new_crtc_state->wm.ilk.optimal; in ilk_compute_intermediate_wm()
3256 if (!new_crtc_state->hw.active || in ilk_compute_intermediate_wm()
3257 drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi) || in ilk_compute_intermediate_wm()
3289 if (memcmp(a, &new_crtc_state->wm.ilk.optimal, sizeof(*a)) != 0) in ilk_compute_intermediate_wm()
3290 new_crtc_state->wm.need_postvbl_update = true; in ilk_compute_intermediate_wm()
3991 struct intel_crtc_state *new_crtc_state; in intel_compute_sagv_mask() local
3997 new_crtc_state, i) { in intel_compute_sagv_mask()
4004 if (intel_crtc_can_enable_sagv(new_crtc_state)) in intel_compute_sagv_mask()
4023 new_crtc_state, i) { in intel_compute_sagv_mask()
4024 struct skl_pipe_wm *pipe_wm = &new_crtc_state->wm.skl.optimal; in intel_compute_sagv_mask()
6035 struct intel_crtc_state *new_crtc_state) in skl_ddb_add_affected_planes() argument
6037 struct intel_atomic_state *state = to_intel_atomic_state(new_crtc_state->uapi.state); in skl_ddb_add_affected_planes()
6038 struct intel_crtc *crtc = to_intel_crtc(new_crtc_state->uapi.crtc); in skl_ddb_add_affected_planes()
6047 &new_crtc_state->wm.skl.plane_ddb_y[plane_id]) && in skl_ddb_add_affected_planes()
6049 &new_crtc_state->wm.skl.plane_ddb_uv[plane_id])) in skl_ddb_add_affected_planes()
6056 new_crtc_state->update_planes |= BIT(plane_id); in skl_ddb_add_affected_planes()
6087 struct intel_crtc_state *new_crtc_state; in skl_compute_ddb() local
6091 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) { in skl_compute_ddb()
6153 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) { in skl_compute_ddb()
6156 new_dbuf_state->weight[pipe] = intel_crtc_ddb_weight(new_crtc_state); in skl_compute_ddb()
6173 new_crtc_state, i) { in skl_compute_ddb()
6179 new_crtc_state); in skl_compute_ddb()
6197 const struct intel_crtc_state *new_crtc_state; in skl_print_wm_changes() local
6206 new_crtc_state, i) { in skl_print_wm_changes()
6210 new_pipe_wm = &new_crtc_state->wm.skl.optimal; in skl_print_wm_changes()
6217 new = &new_crtc_state->wm.skl.plane_ddb_y[plane_id]; in skl_print_wm_changes()
6385 struct intel_crtc_state *new_crtc_state = in skl_wm_add_affected_planes() local
6401 if (!drm_atomic_crtc_needs_modeset(&new_crtc_state->uapi) && in skl_wm_add_affected_planes()
6404 &new_crtc_state->wm.skl.optimal)) in skl_wm_add_affected_planes()
6411 new_crtc_state->update_planes |= BIT(plane_id); in skl_wm_add_affected_planes()
6421 struct intel_crtc_state *new_crtc_state; in skl_compute_wm() local
6424 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) { in skl_compute_wm()
6443 for_each_new_intel_crtc_in_state(state, crtc, new_crtc_state, i) { in skl_compute_wm()