drm/amd/display: fix usb-c connector_type
authorAllen Pan <allen.pan@amd.com>
Thu, 7 Dec 2023 22:26:10 +0000 (17:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Dec 2023 19:59:02 +0000 (14:59 -0500)
commit0d26644bc57d8737c8e2fb3145366f7d0b941935
treef526bfe567bdfa8aa74aeaaca665d36aebd671c8
parentec39a6d00382dfd23bf74ec28c7cf4b87884ae1b
drm/amd/display: fix usb-c connector_type

[why]
BIOS switches to use USB-C connector type 0x18, but VBIOS's
objectInfo table not supported yet. driver needs to patch it
based on enc_cap from system integration info table.

Reviewed-by: Charlene Liu <charlene.liu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Allen Pan <allen.pan@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dio_link_encoder.c