drm/amd/display: Extract temp drm mst deallocation wa into its own function
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 26 Jan 2023 20:51:14 +0000 (15:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Feb 2023 21:03:35 +0000 (16:03 -0500)
commit3d8fcc6740c9f959bc490cd4a084c5a55b572987
treed1b25abe45931bb7ad292400db46af02078d10ee
parentd47d2f9392f69f069c31d60ac3088471b1e1c7d4
drm/amd/display: Extract temp drm mst deallocation wa into its own function

[why]
A recent change was made to implement temporary workaround due DRM
update in MST interfaces. The workaround is added into our generic
deallocation MST sequence.

This ticket is to extract this temporary workaround into its own function so
it is differentiated from our generic sequence.

Reviewed-by: Jerry Zuo <Jerry.Zuo@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/link/link_dpms.c