mirror_ubuntu-kernels/drivers/gpu/drm/amd
Martin Tsai 616f5b65f1 drm/amd/display: Handle virtual signal type in disable_link()
[Why]
The new implementation changed the behavior to allow process setMode
to DAL when DAL returns empty mode query for unplugged display.
This will trigger additional disable_link().
When unplug HDMI from MST dock, driver will update stream->signal to
"Virtual". disable_link() will call disable_output() if the signal type
is not DP and induce other displays on MST dock show black screen.

[How]
Don't need to process disable_output() if the signal type is virtual.

Signed-off-by: Martin Tsai <martin.tsai@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-09-17 08:06:54 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: cleanup creating BOs at fixed location (v2) 2019-09-17 08:06:54 -05:00
amdkfd drm/amdkfd: Swap trap temporary registers in gfx10 trap handler 2019-09-16 15:28:31 -05:00
display drm/amd/display: Handle virtual signal type in disable_link() 2019-09-17 08:06:54 -05:00
include drm/amdgpu: add pcie bif ras related registers 2019-09-16 10:09:37 -05:00
powerplay drm/amd/amdgpu: power up sdma engine when S3 resume back 2019-09-16 10:16:07 -05:00