drm: Print some debug/error info during DP dual mode detect
authorImre Deak <imre.deak@intel.com>
Wed, 26 Oct 2016 16:29:19 +0000 (19:29 +0300)
committerSean Paul <seanpaul@chromium.org>
Wed, 26 Oct 2016 19:57:11 +0000 (15:57 -0400)
commit9ff7a1b0ba823b6cdefc10fc641b8289274d7d81
treeca1d23f8d97c0a0c1272cb4b8d1786c5413aebe8
parent329f4c812a699dc6e4ae12aceee324d53ec78107
drm: Print some debug/error info during DP dual mode detect

There's at least one LSPCON device that occasionally returns an unexpected
adaptor ID which leads to a failed detect. Print some debug info to help
debugging this and future cases. Also print an error for an unexpected
adaptor ID, so users can report it.

v2:
- s/adapter/adaptor/ and add code comment about incorrect type 1 adaptor
  IDs. (Ville)

Cc: dri-devel@lists.freedesktop.org
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1477499359-12001-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/drm_dp_dual_mode_helper.c