drm/i915: Read DP branch device HW revision
authorMika Kahola <mika.kahola@intel.com>
Fri, 9 Sep 2016 11:10:53 +0000 (14:10 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Sep 2016 11:50:27 +0000 (14:50 +0300)
commit0e390a33a668f97ea3ffa7c6ceb4266e1b39450a
treecf9c192cf4f35952d10488b4a087d6bc5d07e1df
parentb633958587ddd47fd9fe3d0d34d51f769b51d77b
drm/i915: Read DP branch device HW revision

HW revision is mandatory field for DisplayPort branch
devices. This is defined in DPCD register field 0x509.

v2: move drm_dp_ds_revision structure to be part of
    drm_dp_link structure (Daniel)
v3: remove dependency to drm_dp_helper but instead parse
    DPCD and print HW revision info to dmesg (Ville)

Reviewed-by: Jim Bride <jim.bride@linux.intel.com>
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1473419458-17080-8-git-send-email-mika.kahola@intel.com
drivers/gpu/drm/i915/intel_dp.c
include/drm/drm_dp_helper.h