summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-10-01 08:28:25 +0200
committerDave Airlie <airlied@redhat.com>2015-10-02 07:34:42 +0200
commitccf03d6995fa4b784f5b987726ba98f4859bf326 (patch)
tree6fdc0aabe330fac0ec6ddc9d1cbf54b0a000ae3b /include
parentdrm/dp/mst: drop cancel work sync in the mstb destroy path (v2) (diff)
downloadlinux-ccf03d6995fa4b784f5b987726ba98f4859bf326.tar.xz
linux-ccf03d6995fa4b784f5b987726ba98f4859bf326.zip
drm/dp/mst: add some defines for logical/physical ports
This just removes the magic number. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_dp_helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 499e9f625aef..0212d139a480 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -568,6 +568,10 @@
#define MODE_I2C_READ 4
#define MODE_I2C_STOP 8
+/* DP 1.2 MST PORTs - Section 2.5.1 v1.2a spec */
+#define DP_MST_PHYSICAL_PORT_0 0
+#define DP_MST_LOGICAL_PORT_0 8
+
#define DP_LINK_STATUS_SIZE 6
bool drm_dp_channel_eq_ok(const u8 link_status[DP_LINK_STATUS_SIZE],
int lane_count);