]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix topology change issue in MST rehook
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Tue, 12 Dec 2017 22:33:57 +0000 (17:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:20 +0000 (14:17 -0500)
commit50fbabcbaaff8dd5116926593a2b553e6c9d5f30
tree39a63a6e9e90f9401eb94e1a970c568814f3c769
parent27e6900feb3e1ac1263be7226b34157ac0d27284
drm/amd/display: Fix topology change issue in MST rehook

When topology changed and rehook up MST display to the same DP
connector, need to take care of drm_dp_mst_port object.

Due to the topology is changed, drm_dp_mst_port and corresponding
i2c_algorithm object could be NULL in such situation.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c