drm/amd/dm: Understand why attaching path/tile properties are needed
authorLyude Paul <lyude@redhat.com>
Mon, 19 Nov 2018 19:44:55 +0000 (19:44 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Nov 2018 20:52:32 +0000 (15:52 -0500)
Path property is used for userspace to know what MST connector goes to what actual DRM DisplayPort connector, the tiling property is for tiling configurations. Not sure what else there is to figure out.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

index 0cca1809fdcd3a9f8598d52f70729fedb6a5afcc..1b0d209d836764ee16c4b9159100a52a6753f7b2 100644 (file)
@@ -345,9 +345,6 @@ dm_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr,
        drm_connector_attach_encoder(&aconnector->base,
                                     &aconnector->mst_encoder->base);
 
-       /*
-        * TODO: understand why this one is needed
-        */
        drm_object_attach_property(
                &connector->base,
                dev->mode_config.path_property,