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
..
2020-03-21 18:56:06 -07:00
2020-02-06 06:11:50 +00:00
2020-03-09 16:02:32 -07:00
2020-02-08 14:04:19 -08:00
2020-03-12 12:42:56 +10:00
2020-03-15 12:42:03 -07:00
2020-03-15 10:53:11 +01:00
2020-03-07 14:14:38 -06:00
2020-01-16 10:45:44 -08:00
2020-02-04 07:17:41 +00:00
2020-01-27 13:03:00 -08:00
2020-03-04 13:28:52 +01:00
2020-02-08 13:55:25 -08:00
2020-03-06 14:48:30 -06:00
2020-03-13 12:45:23 -07:00
2020-03-06 14:50:16 -06:00
2020-03-20 09:20:38 -07:00
2020-01-31 11:28:31 -08:00
2020-03-18 10:42:57 +01:00
2020-02-03 22:22:05 +00:00
2020-03-12 12:42:56 +10:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-03-05 09:42:23 -06:00
2020-02-09 16:05:50 -08:00