diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2020-04-05 16:41:13 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-09 10:43:17 -0400 |
commit | 8ccf0e20769d96b8d0ccbfcb56bc7ca7874154a4 (patch) | |
tree | e7e1ba1085e53420574114149841c530b98910c3 /init/do_mounts.h | |
parent | 4404b47852f3ec709f5787c045650afabea00b4b (diff) | |
download | linux-8ccf0e20769d96b8d0ccbfcb56bc7ca7874154a4.tar.bz2 |
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>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions