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 drm_device *dev = encoder->base.dev; in intel_dp_mst_compute_config()
37 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_compute_config()
70 if (connector_state->best_encoder == &encoder->base) { in intel_dp_mst_compute_config()
100 static void intel_mst_disable_dp(struct intel_encoder *encoder) in intel_mst_disable_dp() argument
102 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_disable_dp()
117 static void intel_mst_post_disable_dp(struct intel_encoder *encoder) in intel_mst_post_disable_dp() argument
119 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_post_disable_dp()
140 static void intel_mst_pre_enable_dp(struct intel_encoder *encoder) in intel_mst_pre_enable_dp() argument
142 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_pre_enable_dp()
145 struct drm_device *dev = encoder->base.dev; in intel_mst_pre_enable_dp()
152 struct drm_crtc *crtc = encoder->base.crtc; in intel_mst_pre_enable_dp()
156 if (connector->base.state->best_encoder == &encoder->base) { in intel_mst_pre_enable_dp()
170 found->encoder = encoder; in intel_mst_pre_enable_dp()
176 enum port port = intel_ddi_get_encoder_port(encoder); in intel_mst_pre_enable_dp()
210 static void intel_mst_enable_dp(struct intel_encoder *encoder) in intel_mst_enable_dp() argument
212 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_mst_enable_dp()
231 static bool intel_dp_mst_enc_get_hw_state(struct intel_encoder *encoder, in intel_dp_mst_enc_get_hw_state() argument
234 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_enc_get_hw_state()
241 static void intel_dp_mst_enc_get_config(struct intel_encoder *encoder, in intel_dp_mst_enc_get_config() argument
244 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); in intel_dp_mst_enc_get_config()
246 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dp_mst_enc_get_config()
247 struct drm_device *dev = encoder->base.dev; in intel_dp_mst_enc_get_config()
390 static void intel_dp_mst_encoder_destroy(struct drm_encoder *encoder) in intel_dp_mst_encoder_destroy() argument
392 struct intel_dp_mst_encoder *intel_mst = enc_to_mst(encoder); in intel_dp_mst_encoder_destroy()
394 drm_encoder_cleanup(encoder); in intel_dp_mst_encoder_destroy()
404 if (connector->encoder && connector->base.state->crtc) { in intel_dp_mst_get_hw_state()
406 if (!connector->encoder->get_hw_state(connector->encoder, &pipe)) in intel_dp_mst_get_hw_state()