Lines Matching defs:state
43 * mailbox." Moreover, the mailbox may return a bogus state,
52 * the HW state readout code will complain that the expected
92 static bool hsw_ips_need_disable(struct intel_atomic_state *state,
95 struct drm_i915_private *i915 = to_i915(state->base.dev);
97 intel_atomic_get_old_crtc_state(state, crtc);
99 intel_atomic_get_new_crtc_state(state, crtc);
121 bool hsw_ips_pre_update(struct intel_atomic_state *state,
125 intel_atomic_get_old_crtc_state(state, crtc);
127 if (!hsw_ips_need_disable(state, crtc))
133 static bool hsw_ips_need_enable(struct intel_atomic_state *state,
136 struct drm_i915_private *i915 = to_i915(state->base.dev);
138 intel_atomic_get_old_crtc_state(state, crtc);
140 intel_atomic_get_new_crtc_state(state, crtc);
169 void hsw_ips_post_update(struct intel_atomic_state *state,
173 intel_atomic_get_new_crtc_state(state, crtc);
175 if (!hsw_ips_need_enable(state, crtc))
216 int hsw_ips_compute_config(struct intel_atomic_state *state,
219 struct drm_i915_private *i915 = to_i915(state->base.dev);
221 intel_atomic_get_new_crtc_state(state, crtc);
244 cdclk_state = intel_atomic_get_cdclk_state(state);
270 * We cannot readout IPS state on broadwell, set to
271 * true so we can set it to a defined state on first
301 crtc_state = to_intel_crtc_state(crtc->base.state);