aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 0be85a00bb52..2f0566b12f71 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -52,7 +52,7 @@ struct intel_dp {
52 uint32_t color_range; 52 uint32_t color_range;
53 uint8_t link_bw; 53 uint8_t link_bw;
54 uint8_t lane_count; 54 uint8_t lane_count;
55 uint8_t dpcd[4]; 55 uint8_t dpcd[8];
56 struct i2c_adapter adapter; 56 struct i2c_adapter adapter;
57 struct i2c_algo_dp_aux_data algo; 57 struct i2c_algo_dp_aux_data algo;
58 bool is_pch_edp; 58 bool is_pch_edp;
@@ -1678,8 +1678,10 @@ intel_dp_detect(struct drm_connector *connector, bool force)
1678 else 1678 else
1679 status = g4x_dp_detect(intel_dp); 1679 status = g4x_dp_detect(intel_dp);
1680 1680
1681 DRM_DEBUG_KMS("DPCD: %hx%hx%hx%hx\n", intel_dp->dpcd[0], 1681 DRM_DEBUG_KMS("DPCD: %hx%hx%hx%hx%hx%hx%hx%hx\n", intel_dp->dpcd[0],
1682 intel_dp->dpcd[1], intel_dp->dpcd[2], intel_dp->dpcd[3]); 1682 intel_dp->dpcd[1], intel_dp->dpcd[2], intel_dp->dpcd[3],
1683 intel_dp->dpcd[4], intel_dp->dpcd[5], intel_dp->dpcd[6],
1684 intel_dp->dpcd[7]);
1683 1685
1684 if (status != connector_status_connected) 1686 if (status != connector_status_connected)
1685 return status; 1687 return status;