drm/i915/dp: Add debug messages to print DP link training pattern
authorPandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com>
Thu, 4 Aug 2016 20:48:35 +0000 (13:48 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 24 Aug 2016 15:49:06 +0000 (08:49 -0700)
commit8b0878a0a3a8da26a9766a2d3abd8768c21b4121
tree676d95bb4f3ca919ebc642dafc2b3f046f210752
parentd1a3a036637aac0e473f602347f879afcf91236c
drm/i915/dp: Add debug messages to print DP link training pattern

Currently we do not print the training pattern used in any of the DP link
training stages. Including this piece of information in debug messages will
help debugging.

Also, use the wrapper intel_dp_program_link_training_pattern() in
intel_dp_enable_port() instead of implementing it.

v2: Downgraded log level from error to debug (Chris)

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470343716-5574-2-git-send-email-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_dp.c