]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: initialize get_max_link_cap
authorCharlene Liu <Charlene.Liu@amd.com>
Sun, 5 Apr 2020 20:41:03 +0000 (16:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 14:43:17 +0000 (10:43 -0400)
commit4f5e8aee84297e2fe8668d0520497a15e6029948
tree176359762f78ef374e7beb61d5ffd4d14edb5871
parent57a1d7718a76c31b20f36f20fe36ab9bd0c55974
drm/amd/display: initialize get_max_link_cap

[why]
usb3->usb2 switch system hang.
driver needs to limit the max sink cap based on DP4 mode.

[how]
based on s_dpalt check and DP4 check:
limit the USB-C DPALT DP maximum supported lane count.

Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Reviewed-by: Chris Park <Chris.Park@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.c