summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_lspcon.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2016-10-24 19:33:29 +0300
committerImre Deak <imre.deak@intel.com>2016-10-26 12:41:01 +0300
commit12a47a422862214d3a715a0bd93140b8176dcdc9 (patch)
treedf3974e3fa15ebb6cb38fe7bd0c7ac5252e0e570 /drivers/gpu/drm/i915/intel_lspcon.c
parent24e807e79f103cd9e7799eed704ed6916915d65a (diff)
downloadop-kernel-dev-12a47a422862214d3a715a0bd93140b8176dcdc9.zip
op-kernel-dev-12a47a422862214d3a715a0bd93140b8176dcdc9.tar.gz
drm/i915/dp: Read DP descriptor for eDP and LSPCON too
As for external DP sink and branch devices read and print the DP descriptor for eDP and LSPCON devices as well to aid debugging. v2: - Split out this change to a separate patch. (Jani) Cc: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1477326811-30431-7-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lspcon.c')
-rw-r--r--drivers/gpu/drm/i915/intel_lspcon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_lspcon.c b/drivers/gpu/drm/i915/intel_lspcon.c
index 23b817a..c5f278b 100644
--- a/drivers/gpu/drm/i915/intel_lspcon.c
+++ b/drivers/gpu/drm/i915/intel_lspcon.c
@@ -136,6 +136,8 @@ bool lspcon_init(struct intel_digital_port *intel_dig_port)
return false;
}
+ intel_dp_read_desc(dp);
+
DRM_DEBUG_KMS("Success: LSPCON init\n");
return true;
}
OpenPOWER on IntegriCloud