Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205156
b: refs/heads/master
c: f091737
h: refs/heads/master
v: v3
  • Loading branch information
Adam Jackson authored and Eric Anholt committed Aug 2, 2010
1 parent 28eabae commit 90f5063
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 49be663f9952d0fc50bb0a4a75c3fd201e40ec59
refs/heads/master: f091737978251811e34e7813ba4bfae5cae0b810
8 changes: 4 additions & 4 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#define DP_LINK_CONFIGURATION_SIZE 9

#define IS_eDP(i) ((i)->type == INTEL_OUTPUT_EDP)
#define IS_PCH_eDP(dp_priv) ((dp_priv)->has_edp)
#define IS_PCH_eDP(dp_priv) ((dp_priv)->is_pch_edp)

struct intel_dp_priv {
uint32_t output_reg;
Expand All @@ -57,7 +57,7 @@ struct intel_dp_priv {
struct intel_encoder *intel_encoder;
struct i2c_adapter adapter;
struct i2c_algo_dp_aux_data algo;
bool has_edp;
bool is_pch_edp;
};

static void
Expand Down Expand Up @@ -598,7 +598,7 @@ bool intel_pch_has_edp(struct drm_crtc *crtc)
dp_priv = intel_encoder->dev_priv;

if (intel_encoder->type == INTEL_OUTPUT_DISPLAYPORT)
return dp_priv->has_edp;
return dp_priv->is_pch_edp;
}
return false;
}
Expand Down Expand Up @@ -1530,7 +1530,7 @@ intel_dp_init(struct drm_device *dev, int output_reg)

if (HAS_PCH_SPLIT(dev) && (output_reg == PCH_DP_D)) {
if (intel_dpd_is_edp(dev))
dp_priv->has_edp = true;
dp_priv->is_pch_edp = true;
}

intel_encoder->crtc_mask = (1 << 0) | (1 << 1);
Expand Down

0 comments on commit 90f5063

Please sign in to comment.