linux/drivers/gpu/drm/amd/display/dc/dce
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
..
dce_abm.c drm/amd/display: Implement abm config table copy to dmcub 2020-04-09 10:43:16 -04:00
dce_abm.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dce_audio.c drm/amd/display: support spdif 2019-08-23 11:42:05 -05:00
dce_audio.h drm/amd/display: Fix a typo - dce_aduio_mask --> dce_audio_mask 2019-08-12 12:47:49 -05:00
dce_aux.c AMD DISPLAY CORE: Use fallthrough; 2020-03-13 11:52:34 -04:00
dce_aux.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_0 and DSC_SUPPORTED 2019-11-13 15:29:44 -05:00
dce_clk_mgr.c drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
dce_clock_source.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dce_clock_source.h drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dce_dmcu.c drm/amd/display: Update TX masks correctly 2020-02-25 11:02:41 -05:00
dce_dmcu.h drm/amd/display: Drop CONFIG_DRM_AMD_DC_DCN2_1 flag 2019-11-13 15:29:44 -05:00
dce_hwseq.c drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce_hwseq.h drm/amd/display: add separate of private hwss functions 2019-12-05 16:26:46 -05:00
dce_i2c_hw.c drm/amd/display: Possible divide by zero in set_speed() 2020-03-13 11:52:35 -04:00
dce_i2c_hw.h drm/amd/display: init hw i2c speed 2020-01-22 16:55:28 -05:00
dce_i2c_sw.c drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c_sw.h drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c.c drm/amd/display: add oem i2c implemenation in dc 2019-11-13 15:29:43 -05:00
dce_i2c.h
dce_ipp.c drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
dce_ipp.h
dce_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
dce_link_encoder.h drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dce_mem_input.c AMD DISPLAY CORE: Use fallthrough; 2020-03-13 11:52:34 -04:00
dce_mem_input.h
dce_opp.c drm/amd: drop use of drmp.h in os_types.h 2019-06-10 22:59:45 +02:00
dce_opp.h
dce_scl_filters_old.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_scl_filters.c drm/amd/display: update scaling filters 2020-02-25 11:02:33 -05:00
dce_stream_encoder.c drm/amd/display: rename DCN1_0 kconfig to DCN 2019-11-13 15:29:44 -05:00
dce_stream_encoder.h
dce_transform.c
dce_transform.h
dmub_abm.c drm/amd/display: Implement abm config table copy to dmcub 2020-04-09 10:43:16 -04:00
dmub_abm.h drm/amd/display: Add ABM driver implementation 2020-04-01 14:44:44 -04:00
dmub_psr.c drm/amd/display: Remove unused defines 2020-04-09 10:43:16 -04:00
dmub_psr.h drm/amd/display: Add driver support for enabling PSR on DMCUB 2020-02-25 11:09:06 -05:00
Makefile drm/amd/display: Add ABM driver implementation 2020-04-01 14:44:44 -04:00