linux/drivers/gpu/drm/amd/display/dc/virtual
Wenjing Liu 8ccf0e2076 drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled
[why]
When display is connected with a native DP port, DP2 mode register value
is a don't care. Driver mistakenly reduce max supported lane count to 2
lane based on the don't care value.

[how]
Add additional check only if USB C DP alt mode is enabled, we will
determine max lane count supported based on current mode.

Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-09 10:43:17 -04:00
..
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00
virtual_link_encoder.c drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
virtual_link_encoder.h
virtual_stream_encoder.c drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
virtual_stream_encoder.h