summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorMika Kahola <mika.kahola@intel.com>2016-09-09 14:10:54 +0300
committerJani Nikula <jani.nikula@intel.com>2016-09-15 14:50:33 +0300
commit1a2724fa94b6308dee87f7851be7ec84a409a538 (patch)
tree68f83c1eb6f4767fbef2805b3f68c395bfe5c6e7 /include/drm
parent0e390a33a668f97ea3ffa7c6ceb4266e1b39450a (diff)
downloadlinux-1a2724fa94b6308dee87f7851be7ec84a409a538.tar.xz
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
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_dp_helper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 19ac59984df0..215202fa5867 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -447,6 +447,7 @@
#define DP_BRANCH_OUI 0x500
#define DP_BRANCH_ID 0x503
#define DP_BRANCH_HW_REV 0x509
+#define DP_BRANCH_SW_REV 0x50A
#define DP_SET_POWER 0x600
# define DP_SET_POWER_D0 0x1