diff options
author | Dave Airlie <airlied@redhat.com> | 2015-10-01 16:28:25 +1000 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2016-11-25 22:57:02 -0500 |
commit | e5c6bbbcc7be9106e744c36b88d0464a8a3c2a16 (patch) | |
tree | 39b3d6ac649e6202c579834e2fc9f1eb95dc87ed /drivers | |
parent | dadd5803301f1175861c3cf42aa8385fd71537a9 (diff) |
drm/dp/mst: add some defines for logical/physical ports
[ Upstream commit ccf03d6995fa4b784f5b987726ba98f4859bf326 ]
This just removes the magic number.
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_dp_mst_topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index ec54c21bae3d..e22a22baf511 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -1156,7 +1156,7 @@ static void drm_dp_add_port(struct drm_dp_mst_branch *mstb, drm_dp_put_port(port); goto out; } - if (port->port_num >= 8) { + if (port->port_num >= DP_MST_LOGICAL_PORT_0) { port->cached_edid = drm_get_edid(port->connector, &port->aux.ddc); } } |