linux-brain/drivers/gpu/drm/amd/display/dc/core
Vladimir Stempen c7010d0f07 drm/amd/display: Release MST resources on switch from MST to SST
[ Upstream commit 3f8518b60c10aa96f3efa38a967a0b4eb9211ac0 ]

[why]
When OS overrides training link training parameters
for MST device to SST mode, MST resources are not
released and leak of the resource may result crash and
incorrect MST discovery during following hot plugs.

[how]
Retaining sink object to be reused by SST link and
releasing MST  resources.

Signed-off-by: Vladimir Stempen <vladimir.stempen@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-19 08:53:10 +02:00
..
dc.c drm/amd/display: Force vsync flip when reconfiguring MPCC 2021-05-19 10:08:22 +02:00
dc_debug.c drm/amd/display: add dcc programming for dual plane 2019-07-18 14:27:26 -05:00
dc_hw_sequencer.c drm-misc-next for v5.3: 2019-06-14 11:44:24 +02:00
dc_link.c drm/amd/display: Disconnect non-DP with no EDID 2021-06-03 08:59:12 +02:00
dc_link_ddc.c drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic 2020-10-01 13:17:36 +02:00
dc_link_dp.c drm/amd/display: Release MST resources on switch from MST to SST 2021-07-19 08:53:10 +02:00
dc_link_hwss.c drm/amd/display: fix image corruption with ODM 2:1 DSC 2 slice 2020-10-01 13:17:38 +02:00
dc_resource.c drm/amd/display: do not synchronize "drr" displays 2019-10-30 11:56:15 -04:00
dc_sink.c drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
dc_stream.c drm/amd/display: Program DWB watermarks from correct state 2019-12-31 16:44:04 +01:00
dc_surface.c drm/amd/display: Add MPC 3DLUT resource management 2019-07-18 14:27:25 -05:00
dc_vm_helper.c drm/amd/display: move vmid determination logic to a module 2019-06-22 09:34:14 -05:00