diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 5890500a3a8b..0f012fbe34eb 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c | |||
@@ -403,20 +403,10 @@ static struct drm_encoder *intel_mst_atomic_best_encoder(struct drm_connector *c | |||
403 | return &intel_dp->mst_encoders[crtc->pipe]->base.base; | 403 | return &intel_dp->mst_encoders[crtc->pipe]->base.base; |
404 | } | 404 | } |
405 | 405 | ||
406 | static struct drm_encoder *intel_mst_best_encoder(struct drm_connector *connector) | ||
407 | { | ||
408 | struct intel_connector *intel_connector = to_intel_connector(connector); | ||
409 | struct intel_dp *intel_dp = intel_connector->mst_port; | ||
410 | if (!intel_dp) | ||
411 | return NULL; | ||
412 | return &intel_dp->mst_encoders[0]->base.base; | ||
413 | } | ||
414 | |||
415 | static const struct drm_connector_helper_funcs intel_dp_mst_connector_helper_funcs = { | 406 | static const struct drm_connector_helper_funcs intel_dp_mst_connector_helper_funcs = { |
416 | .get_modes = intel_dp_mst_get_modes, | 407 | .get_modes = intel_dp_mst_get_modes, |
417 | .mode_valid = intel_dp_mst_mode_valid, | 408 | .mode_valid = intel_dp_mst_mode_valid, |
418 | .atomic_best_encoder = intel_mst_atomic_best_encoder, | 409 | .atomic_best_encoder = intel_mst_atomic_best_encoder, |
419 | .best_encoder = intel_mst_best_encoder, | ||
420 | .atomic_check = intel_dp_mst_atomic_check, | 410 | .atomic_check = intel_dp_mst_atomic_check, |
421 | }; | 411 | }; |
422 | 412 | ||