diff options
author | Mika Kahola <mika.kahola@intel.com> | 2016-09-09 14:10:53 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-09-15 14:50:27 +0300 |
commit | 0e390a33a668f97ea3ffa7c6ceb4266e1b39450a (patch) | |
tree | cf9c192cf4f35952d10488b4a087d6bc5d07e1df /include/drm | |
parent | b633958587ddd47fd9fe3d0d34d51f769b51d77b (diff) | |
download | linux-0e390a33a668f97ea3ffa7c6ceb4266e1b39450a.tar.bz2 |
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
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_dp_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index faea76bec514..19ac59984df0 100644 --- a/include/drm/drm_dp_helper.h +++ b/include/drm/drm_dp_helper.h @@ -446,6 +446,7 @@ #define DP_SINK_OUI 0x400 #define DP_BRANCH_OUI 0x500 #define DP_BRANCH_ID 0x503 +#define DP_BRANCH_HW_REV 0x509 #define DP_SET_POWER 0x600 # define DP_SET_POWER_D0 0x1 |