diff options
author | Andrey Grodzovsky <andrey.grodzovsky@amd.com> | 2020-10-14 13:12:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-10-16 15:11:01 -0400 |
commit | f5213f827c8748b99741406342d75d8d6641ddcc (patch) | |
tree | 190eacea65da5818d9c48fc62e74949710b6cd77 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | 268f3a4388b0bf6cc6a344fcf576c4153b2c86c6 (diff) |
drm/amd/display: Avoid MST manager resource leak.
On connector destruction call drm_dp_mst_topology_mgr_destroy
to release resources allocated in drm_dp_mst_topology_mgr_init.
Do it only if MST manager was initilized before otherwsie a crash
is seen on driver unload/device unplug.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions