Searched refs:old_crtc_state (Results 1 - 25 of 75) sorted by relevance

123

/linux-master/drivers/gpu/drm/i915/display/
H A Dskl_scaler.h33 void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
H A Dintel_vrr.h25 void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state);
H A Dintel_audio.h24 const struct intel_crtc_state *old_crtc_state,
H A Dhsw_ips.c96 const struct intel_crtc_state *old_crtc_state = local
101 if (!old_crtc_state->ips_enabled)
124 const struct intel_crtc_state *old_crtc_state = local
130 return hsw_ips_disable(old_crtc_state);
137 const struct intel_crtc_state *old_crtc_state = local
163 if (intel_crtc_needs_fastset(new_crtc_state) && old_crtc_state->inherited)
166 return !old_crtc_state->ips_enabled;
H A Dg4x_hdmi.c255 const struct intel_crtc_state *old_crtc_state,
261 if (!old_crtc_state->has_audio)
264 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state);
383 const struct intel_crtc_state *old_crtc_state,
391 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
435 old_crtc_state, old_conn_state);
442 const struct intel_crtc_state *old_crtc_state,
445 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state);
450 const struct intel_crtc_state *old_crtc_state,
457 const struct intel_crtc_state *old_crtc_state,
254 g4x_hdmi_audio_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
381 intel_disable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
440 g4x_disable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
448 pch_disable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
455 pch_post_disable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
522 chv_hdmi_post_pll_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
530 vlv_hdmi_post_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
539 chv_hdmi_post_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
[all...]
H A Dintel_dpio_phy.h63 const struct intel_crtc_state *old_crtc_state);
74 const struct intel_crtc_state *old_crtc_state);
151 const struct intel_crtc_state *old_crtc_state)
170 const struct intel_crtc_state *old_crtc_state)
150 chv_phy_post_pll_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state) argument
169 vlv_phy_reset_lanes(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state) argument
H A Dintel_vblank.h22 void intel_vblank_evade_init(const struct intel_crtc_state *old_crtc_state,
H A Dintel_vrr.c58 struct intel_crtc_state *old_crtc_state, *new_crtc_state; local
61 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state,
64 old_crtc_state->uapi.vrr_enabled)
254 void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state) argument
256 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
258 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
260 if (!old_crtc_state->vrr.enable)
264 trans_vrr_ctl(old_crtc_state));
H A Dintel_display.c289 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) argument
291 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
295 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
455 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state) argument
457 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
459 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
479 if (old_crtc_state->double_wide)
493 intel_wait_for_pipe_off(old_crtc_state);
919 const struct intel_crtc_state *old_crtc_state = local
933 encoder->audio_disable(encoder, old_crtc_state, old_conn_stat
944 planes_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
953 planes_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
962 vrr_params_changed(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
972 vrr_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
984 vrr_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
996 audio_enabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
1007 audio_disabling(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
1025 const struct intel_crtc_state *old_crtc_state = local
1100 const struct intel_crtc_state *old_crtc_state = local
1133 const struct intel_crtc_state *old_crtc_state = local
1274 struct intel_crtc_state *new_crtc_state, *old_crtc_state; local
1363 const struct intel_crtc_state *old_crtc_state = local
1386 const struct intel_crtc_state *old_crtc_state = local
1408 const struct intel_crtc_state *old_crtc_state = local
1729 ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state) argument
1748 const struct intel_crtc_state *old_crtc_state = local
1786 const struct intel_crtc_state *old_crtc_state = local
2111 i9xx_pfit_disable(const struct intel_crtc_state *old_crtc_state) argument
2129 struct intel_crtc_state *old_crtc_state = local
4087 const struct intel_crtc_state *old_crtc_state = local
5567 intel_crtc_check_fastset(const struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state) argument
5619 const struct intel_crtc_state *old_crtc_state = local
5683 struct intel_crtc_state *old_crtc_state, *new_crtc_state; local
5975 const struct intel_crtc_state *old_crtc_state, *new_crtc_state; local
6306 struct intel_crtc_state *old_crtc_state, *new_crtc_state; local
6533 intel_pipe_fastset(const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
6584 const struct intel_crtc_state *old_crtc_state = local
6614 const struct intel_crtc_state *old_crtc_state = local
6658 const struct intel_crtc_state *old_crtc_state = local
6702 const struct intel_crtc_state *old_crtc_state = local
6739 intel_old_crtc_state_disables(struct intel_atomic_state *state, struct intel_crtc_state *old_crtc_state, struct intel_crtc_state *new_crtc_state, struct intel_crtc *crtc) argument
6762 struct intel_crtc_state *new_crtc_state, *old_crtc_state; local
6845 struct intel_crtc_state *old_crtc_state, *new_crtc_state; local
7006 struct intel_crtc_state *old_crtc_state; local
7065 struct intel_crtc_state *new_crtc_state, *old_crtc_state; local
[all...]
H A Dg4x_dp.c231 const struct intel_crtc_state *old_crtc_state)
233 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
236 assert_transcoder_disabled(dev_priv, old_crtc_state->cpu_transcoder);
410 const struct intel_crtc_state *old_crtc_state)
414 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
496 const struct intel_crtc_state *old_crtc_state,
502 if (!old_crtc_state->has_audio)
505 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state);
514 const struct intel_crtc_state *old_crtc_state,
533 const struct intel_crtc_state *old_crtc_state,
230 ilk_edp_pll_off(struct intel_dp *intel_dp, const struct intel_crtc_state *old_crtc_state) argument
409 intel_dp_link_down(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state) argument
495 g4x_dp_audio_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
512 intel_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
531 g4x_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
539 vlv_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
547 g4x_post_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
568 vlv_post_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
576 chv_post_disable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
788 chv_dp_post_pll_disable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
[all...]
H A Dintel_atomic_plane.c264 const struct intel_crtc_state *old_crtc_state; local
270 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc);
285 old_crtc_state->min_cdclk[plane->id])
417 const struct intel_crtc_state *old_crtc_state,
435 return DISPLAY_VER(i915) < 13 || old_crtc_state->uapi.async_flip;
479 static int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state, argument
488 bool was_crtc_enabled = old_crtc_state->hw.active;
594 if (intel_plane_do_async_flip(plane, old_crtc_state, new_crtc_state)) {
602 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, argument
665 return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_stat
416 intel_plane_do_async_flip(struct intel_plane *plane, const struct intel_crtc_state *old_crtc_state, const struct intel_crtc_state *new_crtc_state) argument
693 const struct intel_crtc_state *old_crtc_state = local
833 struct intel_crtc_state *old_crtc_state = local
[all...]
H A Dintel_atomic_plane.h52 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state,
H A Dintel_psr.h31 const struct intel_crtc_state *old_crtc_state);
H A Dintel_crt.c218 const struct intel_crtc_state *old_crtc_state,
221 intel_crt_set_dpms(encoder, old_crtc_state, DRM_MODE_DPMS_OFF);
226 const struct intel_crtc_state *old_crtc_state,
233 const struct intel_crtc_state *old_crtc_state,
236 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state);
241 const struct intel_crtc_state *old_crtc_state,
246 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder);
253 const struct intel_crtc_state *old_crtc_state,
256 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
259 intel_crtc_vblank_off(old_crtc_state);
216 intel_disable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
224 pch_disable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
231 pch_post_disable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
239 hsw_disable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
251 hsw_post_disable_crt(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
[all...]
H A Dintel_drrs.c178 * @old_crtc_state: the old crtc state
182 void intel_drrs_deactivate(const struct intel_crtc_state *old_crtc_state) argument
184 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
186 if (!old_crtc_state->has_drrs)
189 if (!old_crtc_state->hw.active)
192 if (intel_crtc_is_bigjoiner_slave(old_crtc_state))
H A Dintel_display.h323 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \
327 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
356 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \
360 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
365 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, __i) \
369 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
424 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state);
494 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
H A Dintel_audio.c73 const struct intel_crtc_state *old_crtc_state,
342 const struct intel_crtc_state *old_crtc_state,
346 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
486 const struct intel_crtc_state *old_crtc_state,
490 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
491 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder;
501 (intel_crtc_has_dp_encoder(old_crtc_state) ?
688 const struct intel_crtc_state *old_crtc_state,
692 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc);
710 (intel_crtc_has_dp_encoder(old_crtc_state)
341 g4x_audio_codec_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
485 hsw_audio_codec_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
687 ibx_audio_codec_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
866 intel_audio_codec_disable(struct intel_encoder *encoder, const struct intel_crtc_state *old_crtc_state, const struct drm_connector_state *old_conn_state) argument
[all...]
H A Dintel_ddi.h34 const struct intel_crtc_state *old_crtc_state,
/linux-master/drivers/gpu/drm/msm/dp/
H A Ddp_drm.c144 struct drm_crtc_state *old_crtc_state; local
159 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc);
161 if (old_crtc_state && old_crtc_state->self_refresh_active) {
174 struct drm_crtc_state *new_crtc_state = NULL, *old_crtc_state = NULL; local
187 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc);
188 if (!old_crtc_state)
205 } else if (old_crtc_state->self_refresh_active) {
/linux-master/drivers/gpu/drm/bridge/
H A Dpanel.c121 struct drm_crtc_state *old_crtc_state; local
127 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc);
128 if (old_crtc_state && old_crtc_state->self_refresh_active)
141 struct drm_crtc_state *old_crtc_state; local
147 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc);
148 if (old_crtc_state && old_crtc_state->self_refresh_active)
/linux-master/drivers/gpu/drm/imx/dcss/
H A Ddcss-crtc.c83 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, local
89 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode;
101 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) {
119 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, local
125 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode;
127 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, false);
/linux-master/drivers/gpu/drm/
H A Ddrm_self_refresh_helper.c150 struct drm_crtc_state *old_crtc_state; local
153 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) {
158 if (old_crtc_state->self_refresh_active ==
H A Ddrm_atomic_helper.c624 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
633 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
639 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) {
645 if (old_crtc_state->enable != new_crtc_state->enable) {
661 if (old_crtc_state->active != new_crtc_state->active) {
730 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
1129 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
1144 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc);
1153 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) ||
1192 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_stat
1465 struct drm_crtc_state *old_crtc_state; local
1649 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
2276 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
2401 struct drm_crtc_state *old_crtc_state; local
2494 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
2539 struct drm_crtc_state *old_crtc_state; local
2739 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
2854 drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state) argument
2923 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state, bool atomic) argument
3022 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_atomic.c186 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
190 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state,
192 if ((old_crtc_state->ctm && !new_crtc_state->ctm) ||
193 (!old_crtc_state->ctm && new_crtc_state->ctm)) {
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_kms.c510 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
514 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
516 if (!new_crtc_state->ctm && old_crtc_state->ctm) {
524 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) {
525 if (new_crtc_state->ctm == old_crtc_state->ctm)
850 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
860 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc);
861 if (!old_crtc_state)
863 old_vc4_crtc_state = to_vc4_crtc_state(old_crtc_state);
873 if (old_crtc_state
927 struct drm_crtc_state *old_crtc_state, *new_crtc_state; local
[all...]

Completed in 232 milliseconds

123