drm/i915: Read DP branch device SW revision
authorMika Kahola <mika.kahola@intel.com>
Fri, 9 Sep 2016 11:10:54 +0000 (14:10 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 15 Sep 2016 11:50:33 +0000 (14:50 +0300)
commit1a2724fa94b6308dee87f7851be7ec84a409a538
tree68f83c1eb6f4767fbef2805b3f68c395bfe5c6e7
parent0e390a33a668f97ea3ffa7c6ceb4266e1b39450a
drm/i915: Read DP branch device SW revision

SW revision is mandatory field for DisplayPort branch
devices. This is defined in DPCD register fields 0x50A
and 0x50B.

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 SW revision info to dmesg (Ville)
v4: commit message fix (Jim Bride)

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