Skip to content

Commit

Permalink
drm/i915: Delay DP i2c initialization until panel power timings are c…
Browse files Browse the repository at this point in the history
…omputed

On eDP, DDC requires panel power, but turning that on uses the panel
power sequencing timing values fetch from the DPCD data.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Keith Packard committed Oct 6, 2011
1 parent 245e270 commit 552fb0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2079,8 +2079,6 @@ intel_dp_init(struct drm_device *dev, int output_reg)
break;
}

intel_dp_i2c_init(intel_dp, intel_connector, name);

/* Cache some DPCD data in the eDP case */
if (is_edp(intel_dp)) {
bool ret;
Expand Down Expand Up @@ -2112,6 +2110,8 @@ intel_dp_init(struct drm_device *dev, int output_reg)
}
}

intel_dp_i2c_init(intel_dp, intel_connector, name);

intel_encoder->hot_plug = intel_dp_hot_plug;

if (is_edp(intel_dp)) {
Expand Down

0 comments on commit 552fb0b

Please sign in to comment.