diff options
author | Imre Deak <imre.deak@intel.com> | 2021-02-01 15:01:44 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2021-02-04 20:22:26 +0300 |
commit | e0305024e76e3bd4849d199af1d7415d95ce82c0 (patch) | |
tree | 7279d070ac0d28362a81c0cb864b000685922d32 /drivers/gpu/drm/drm_dp_mst_topology.c | |
parent | 468091531c2e5c49f55d8c6f1d036ce997d24e13 (diff) | |
download | linux-e0305024e76e3bd4849d199af1d7415d95ce82c0.tar.xz |
drm/dp_mst: Remove redundant tile property setting
drm_get_edid() already updates the tile property since
commit 2de3a078497b ("drm/dp: Set the connector's TILE property even for DP SST connectors")
so no need to update it after calling this function.
Cc: Lyude Paul <lyude@redhat.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210201120145.350258-3-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_dp_mst_topology.c')
-rw-r--r-- | drivers/gpu/drm/drm_dp_mst_topology.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c index fd89a3ab46d8..1979c57ad683 100644 --- a/drivers/gpu/drm/drm_dp_mst_topology.c +++ b/drivers/gpu/drm/drm_dp_mst_topology.c @@ -2303,11 +2303,9 @@ drm_dp_mst_port_add_connector(struct drm_dp_mst_branch *mstb, if (port->pdt != DP_PEER_DEVICE_NONE && drm_dp_mst_is_end_device(port->pdt, port->mcs) && - port->port_num >= DP_MST_LOGICAL_PORT_0) { + port->port_num >= DP_MST_LOGICAL_PORT_0) port->cached_edid = drm_get_edid(port->connector, &port->aux.ddc); - drm_connector_set_tile_property(port->connector); - } drm_connector_register(port->connector); return; |