Lines Matching refs:connector_state

438 	struct drm_connector_state *connector_state;  in intel_pipe_will_have_type()  local
446 connector_state = state->connector_states[i]; in intel_pipe_will_have_type()
447 if (connector_state->crtc != crtc_state->base.crtc) in intel_pipe_will_have_type()
452 encoder = to_intel_encoder(connector_state->best_encoder); in intel_pipe_will_have_type()
5639 struct drm_connector_state *connector_state; in intel_connector_init() local
5641 connector_state = kzalloc(sizeof *connector_state, GFP_KERNEL); in intel_connector_init()
5642 if (!connector_state) in intel_connector_init()
5645 connector->base.state = connector_state; in intel_connector_init()
6793 struct drm_connector_state *connector_state; in i9xx_crtc_compute_clock() local
6800 connector_state = state->connector_states[i]; in i9xx_crtc_compute_clock()
6801 if (connector_state->crtc != &crtc->base) in i9xx_crtc_compute_clock()
6804 encoder = to_intel_encoder(connector_state->best_encoder); in i9xx_crtc_compute_clock()
7484 struct drm_connector_state *connector_state; in ironlake_get_refclk() local
7493 connector_state = state->connector_states[i]; in ironlake_get_refclk()
7494 if (connector_state->crtc != crtc_state->base.crtc) in ironlake_get_refclk()
7497 encoder = to_intel_encoder(connector_state->best_encoder); in ironlake_get_refclk()
7747 struct drm_connector_state *connector_state; in ironlake_compute_dpll() local
7757 connector_state = state->connector_states[i]; in ironlake_compute_dpll()
7758 if (connector_state->crtc != crtc_state->base.crtc) in ironlake_compute_dpll()
7761 encoder = to_intel_encoder(connector_state->best_encoder); in ironlake_compute_dpll()
8994 struct drm_connector_state *connector_state; in intel_get_load_detect_pipe() local
9082 connector_state = drm_atomic_get_connector_state(state, connector); in intel_get_load_detect_pipe()
9083 if (IS_ERR(connector_state)) { in intel_get_load_detect_pipe()
9084 ret = PTR_ERR(connector_state); in intel_get_load_detect_pipe()
9088 connector_state->crtc = crtc; in intel_get_load_detect_pipe()
9089 connector_state->best_encoder = &intel_encoder->base; in intel_get_load_detect_pipe()
9156 struct drm_connector_state *connector_state; in intel_release_load_detect_pipe() local
9169 connector_state = drm_atomic_get_connector_state(state, connector); in intel_release_load_detect_pipe()
9170 if (IS_ERR(connector_state)) in intel_release_load_detect_pipe()
9178 connector_state->best_encoder = NULL; in intel_release_load_detect_pipe()
9179 connector_state->crtc = NULL; in intel_release_load_detect_pipe()
10640 struct drm_connector_state *connector_state; in intel_modeset_pipe_config() local
10722 connector_state = state->connector_states[i]; in intel_modeset_pipe_config()
10723 if (connector_state->crtc != crtc) in intel_modeset_pipe_config()
10726 encoder = to_intel_encoder(connector_state->best_encoder); in intel_modeset_pipe_config()
11697 struct drm_connector_state *connector_state; in intel_crtc_restore_mode() local
11721 connector_state = drm_atomic_get_connector_state(state, &connector->base); in intel_crtc_restore_mode()
11722 if (IS_ERR(connector_state)) { in intel_crtc_restore_mode()
11726 PTR_ERR(connector_state)); in intel_crtc_restore_mode()
11730 connector_state->crtc = crtc; in intel_crtc_restore_mode()
11731 connector_state->best_encoder = &encoder->base; in intel_crtc_restore_mode()
11911 struct drm_connector_state *connector_state; in intel_modeset_stage_output_state() local
11975 connector_state = in intel_modeset_stage_output_state()
11977 if (IS_ERR(connector_state)) in intel_modeset_stage_output_state()
11978 return PTR_ERR(connector_state); in intel_modeset_stage_output_state()
11980 connector_state->crtc = new_crtc; in intel_modeset_stage_output_state()
11981 connector_state->best_encoder = &connector->new_encoder->base; in intel_modeset_stage_output_state()
12015 connector_state = in intel_modeset_stage_output_state()
12017 if (IS_ERR(connector_state)) in intel_modeset_stage_output_state()
12018 return PTR_ERR(connector_state); in intel_modeset_stage_output_state()
12024 connector_state->crtc = NULL; in intel_modeset_stage_output_state()