Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262531
b: refs/heads/master
c: 59f3e27
h: refs/heads/master
i:
  262529: 75208e1
  262527: 16e1383
v: v3
  • Loading branch information
Keith Packard committed Jul 28, 2011
1 parent 7e0804a commit 1bd4a77
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 26d61aad7a46115628341e9eb95433f30efef21a
refs/heads/master: 59f3e272d788305e16098f0b18309919c9216d67
8 changes: 3 additions & 5 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,7 @@ intel_dp_init(struct drm_device *dev, int output_reg)

/* Cache some DPCD data in the eDP case */
if (is_edp(intel_dp)) {
int ret;
bool ret;
u32 pp_on, pp_div;

pp_on = I915_READ(PCH_PP_ON_DELAYS);
Expand All @@ -2028,11 +2028,9 @@ intel_dp_init(struct drm_device *dev, int output_reg)
dev_priv->panel_t12 *= 100; /* t12 in 100ms units */

ironlake_edp_panel_vdd_on(intel_dp);
ret = intel_dp_aux_native_read(intel_dp, DP_DPCD_REV,
intel_dp->dpcd,
sizeof(intel_dp->dpcd));
ret = intel_dp_get_dpcd(intel_dp);
ironlake_edp_panel_vdd_off(intel_dp);
if (ret == sizeof(intel_dp->dpcd)) {
if (ret) {
if (intel_dp->dpcd[DP_DPCD_REV] >= 0x11)
dev_priv->no_aux_handshake =
intel_dp->dpcd[DP_MAX_DOWNSPREAD] &
Expand Down

0 comments on commit 1bd4a77

Please sign in to comment.