summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-07-16 14:46:27 -0400
committerEric Anholt <eric@anholt.net>2010-08-01 19:37:46 -0700
commitf091737978251811e34e7813ba4bfae5cae0b810 (patch)
tree5b950a337c6cc59136ffc1babedd559007b50c39 /drivers/gpu
parent49be663f9952d0fc50bb0a4a75c3fd201e40ec59 (diff)
downloadblackbird-op-linux-f091737978251811e34e7813ba4bfae5cae0b810.tar.gz
blackbird-op-linux-f091737978251811e34e7813ba4bfae5cae0b810.zip
drm/i915/dp: Rename has_edp to is_pch_edp to reflect its real meaning
Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 5a11a2bada37..a06d186a14a5 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -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;
@@ -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
@@ -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;
}
@@ -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);
OpenPOWER on IntegriCloud