aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2017-04-12 04:07:43 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-04-12 04:07:43 -0400
commitebf3f19abbfd041a0e79a523e4dd1f6f6797b783 (patch)
treebc9ee354596925a6de8c1a7219cdf1bb975df001 /drivers/gpu/drm/i915/intel_dp_mst.c
parenta8e9a419c337a655e23b4bab422e85e47ee86c92 (diff)
parentd455937ed1cff44b9e5567f0ab697ad486429c0f (diff)
Merge airlied/drm-next into drm-intel-next-queued
Maarten needs both the new connector->atomic_check hook and the connection_mutex locking changes in the probe helpers to be able to start merging the connector property conversion to atomic. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp_mst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp_mst.c b/drivers/gpu/drm/i915/intel_dp_mst.c
index 40608101cd3a..3451e2abb23b 100644
--- a/drivers/gpu/drm/i915/intel_dp_mst.c
+++ b/drivers/gpu/drm/i915/intel_dp_mst.c
@@ -149,7 +149,6 @@ static void intel_mst_pre_enable_dp(struct intel_encoder *encoder,
149 to_intel_connector(conn_state->connector); 149 to_intel_connector(conn_state->connector);
150 int ret; 150 int ret;
151 uint32_t temp; 151 uint32_t temp;
152 int slots;
153 152
154 /* MST encoders are bound to a crtc, not to a connector, 153 /* MST encoders are bound to a crtc, not to a connector,
155 * force the mapping here for get_hw_state. 154 * force the mapping here for get_hw_state.
@@ -165,7 +164,8 @@ static void intel_mst_pre_enable_dp(struct intel_encoder *encoder,
165 164
166 ret = drm_dp_mst_allocate_vcpi(&intel_dp->mst_mgr, 165 ret = drm_dp_mst_allocate_vcpi(&intel_dp->mst_mgr,
167 connector->port, 166 connector->port,
168 pipe_config->pbn, &slots); 167 pipe_config->pbn,
168 pipe_config->dp_m_n.tu);
169 if (ret == false) { 169 if (ret == false) {
170 DRM_ERROR("failed to allocate vcpi\n"); 170 DRM_ERROR("failed to allocate vcpi\n");
171 return; 171 return;