drm/amd/display: Fix USBC link creation
authorDillon Varone <dillon.varone@amd.com>
Tue, 1 Mar 2022 21:15:03 +0000 (16:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Jun 2022 20:43:38 +0000 (16:43 -0400)
commite42ce1366ae806ba2c1f884997703be68df428f4
treec29bf9dfb81a21611a95266650ec7e777d55af82
parent543036a2de71f14f8ad566c858e5e9ff61736a86
drm/amd/display: Fix USBC link creation

[Description]

Add USBC connector ID to align with new VBIOS parsing.

Add seperate DCN321 link encoder due to different PHY version affecting
DP ALT related registers.

Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
12 files changed:
drivers/gpu/drm/amd/display/dc/bios/bios_parser2.c
drivers/gpu/drm/amd/display/dc/bios/command_table.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_stream_encoder.h
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn321/Makefile
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_dio_link_encoder.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_dio_link_encoder.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_resource.c
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h
drivers/gpu/drm/amd/display/include/bios_parser_types.h