drm/amd/display: Fix MST topology debugfs
authorEryk Brol <eryk.brol@amd.com>
Thu, 18 Mar 2021 18:44:17 +0000 (14:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:48:35 +0000 (16:48 -0400)
commitb9db41235a2a3de7e65891e30a9868fe50a2d7e1
treef7ad1fb05712276a0f68000139d47bad457c72dd
parent7809fc00e20e6efb51891b95dccd327316beefdf
drm/amd/display: Fix MST topology debugfs

[why]
The drm dump_topology function was previously called on all
DP connectors. This resulted in empty topology dumps for those
connectors which weren't root MST nodes.

[how]
Make sure we only dump topology from the root MST node.

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c