diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp_mst.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c index 369f8b6b804f..983553cf8b74 100644 --- a/drivers/gpu/drm/i915/intel_dp_mst.c +++ b/drivers/gpu/drm/i915/intel_dp_mst.c | |||
@@ -33,6 +33,7 @@ | |||
33 | static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, | 33 | static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, |
34 | struct intel_crtc_state *pipe_config) | 34 | struct intel_crtc_state *pipe_config) |
35 | { | 35 | { |
36 | struct drm_device *dev = encoder->base.dev; | ||
36 | struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); | 37 | struct intel_dp_mst_encoder *intel_mst = enc_to_mst(&encoder->base); |
37 | struct intel_digital_port *intel_dig_port = intel_mst->primary; | 38 | struct intel_digital_port *intel_dig_port = intel_mst->primary; |
38 | struct intel_dp *intel_dp = &intel_dig_port->dp; | 39 | struct intel_dp *intel_dp = &intel_dig_port->dp; |
@@ -97,6 +98,10 @@ static bool intel_dp_mst_compute_config(struct intel_encoder *encoder, | |||
97 | &pipe_config->dp_m_n); | 98 | &pipe_config->dp_m_n); |
98 | 99 | ||
99 | pipe_config->dp_m_n.tu = slots; | 100 | pipe_config->dp_m_n.tu = slots; |
101 | |||
102 | if (IS_HASWELL(dev) || IS_BROADWELL(dev)) | ||
103 | hsw_dp_set_ddi_pll_sel(pipe_config); | ||
104 | |||
100 | return true; | 105 | return true; |
101 | 106 | ||
102 | } | 107 | } |