Lines Matching refs:encoder

33 static bool intel_dp_mst_compute_config(struct intel_encoder *encoder,  in intel_dp_mst_compute_config()  argument
36 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_compute_config()
77 if (state->connector_states[i]->best_encoder == &encoder->base) { in intel_dp_mst_compute_config()
103 static void intel_mst_disable_dp(struct intel_encoder *encoder) in intel_mst_disable_dp() argument
105 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_disable_dp()
120 static void intel_mst_post_disable_dp(struct intel_encoder *encoder) in intel_mst_post_disable_dp() argument
122 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_post_disable_dp()
143 static void intel_mst_pre_enable_dp(struct intel_encoder *encoder) in intel_mst_pre_enable_dp() argument
145 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_pre_enable_dp()
148 struct drm_device *dev = encoder->base.dev; in intel_mst_pre_enable_dp()
155 struct drm_crtc *crtc = encoder->base.crtc; in intel_mst_pre_enable_dp()
159 if (intel_connector->new_encoder == encoder) { in intel_mst_pre_enable_dp()
174 enum port port = intel_ddi_get_encoder_port(encoder); in intel_mst_pre_enable_dp()
205 static void intel_mst_enable_dp(struct intel_encoder *encoder) in intel_mst_enable_dp() argument
207 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_enable_dp()
226 static bool intel_dp_mst_enc_get_hw_state(struct intel_encoder *encoder, in intel_dp_mst_enc_get_hw_state() argument
229 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_enc_get_hw_state()
236 static void intel_dp_mst_enc_get_config(struct intel_encoder *encoder, in intel_dp_mst_enc_get_config() argument
239 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_enc_get_config()
241 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dp_mst_enc_get_config()
242 struct drm_device *dev = encoder->base.dev; in intel_dp_mst_enc_get_config()
370 static void intel_dp_mst_encoder_destroy(struct drm_encoder *encoder) in intel_dp_mst_encoder_destroy() argument
372 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(encoder); in intel_dp_mst_encoder_destroy()
374 drm_encoder_cleanup(encoder); in intel_dp_mst_encoder_destroy()
384 if (connector->encoder) { in intel_dp_mst_get_hw_state()
386 if (!connector->encoder->get_hw_state(connector->encoder, &pipe)) in intel_dp_mst_get_hw_state()