diff options
author | Imre Deak <imre.deak@intel.com> | 2013-05-08 06:14:08 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-10 15:56:42 -0400 |
commit | e7281eab0bb4a5265593866d6f7acea2812fe0ec (patch) | |
tree | 32f269409408c656e668f2509983c70be9eebb9c /drivers/gpu/drm/i915/intel_dp.c | |
parent | 15e6bf74b660c2e7aecc200ac77eb19eb6628240 (diff) |
drm/i915: print DP init debug messages from a single place
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index fa7e66b4adc6..0291b28ec872 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c | |||
@@ -2978,6 +2978,10 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port, | |||
2978 | if (type == DRM_MODE_CONNECTOR_eDP) | 2978 | if (type == DRM_MODE_CONNECTOR_eDP) |
2979 | intel_encoder->type = INTEL_OUTPUT_EDP; | 2979 | intel_encoder->type = INTEL_OUTPUT_EDP; |
2980 | 2980 | ||
2981 | DRM_DEBUG_KMS("Adding %s connector on port %c\n", | ||
2982 | type == DRM_MODE_CONNECTOR_eDP ? "eDP" : "DP", | ||
2983 | port_name(port)); | ||
2984 | |||
2981 | drm_connector_init(dev, connector, &intel_dp_connector_funcs, type); | 2985 | drm_connector_init(dev, connector, &intel_dp_connector_funcs, type); |
2982 | drm_connector_helper_add(connector, &intel_dp_connector_helper_funcs); | 2986 | drm_connector_helper_add(connector, &intel_dp_connector_helper_funcs); |
2983 | 2987 | ||