drm/dp_mst: Remove redundant tile property setting
authorImre Deak <imre.deak@intel.com>
Mon, 1 Feb 2021 12:01:44 +0000 (14:01 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 4 Feb 2021 17:22:26 +0000 (19:22 +0200)
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
drivers/gpu/drm/drm_dp_mst_topology.c

index fd89a3a..1979c57 100644 (file)
@@ -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;