diff options
| author | Samson Tam <[email protected]> | 2022-03-16 05:06:42 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-04-01 03:05:53 +0000 |
| commit | 8cb3c169fc7574cb889deb3b59a3c8e783fb4685 (patch) | |
| tree | ee7241f7e0a5d9cb0ca20fb80988aa3344131da8 /drivers/gpu/drm/amd/display/dc/bios/command_table.c | |
| parent | drm/amd/display: Add work around for AUX failure on wake. (diff) | |
| download | kernel-8cb3c169fc7574cb889deb3b59a3c8e783fb4685.tar.gz kernel-8cb3c169fc7574cb889deb3b59a3c8e783fb4685.zip | |
drm/amd/display: Add support for USBC connector
[Why]
Add support for CONNECTOR_ID_USBC
Reviewed-by: Alvin Lee <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Samson Tam <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table.c')
| -rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/command_table.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table.c b/drivers/gpu/drm/amd/display/dc/bios/command_table.c index 0e36cd800fc9..32efa92422e8 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c @@ -522,7 +522,8 @@ static enum bp_result transmitter_control_v2( */ params.acConfig.ucEncoderSel = 1; - if (CONNECTOR_ID_DISPLAY_PORT == connector_id) + if (CONNECTOR_ID_DISPLAY_PORT == connector_id + || CONNECTOR_ID_USBC == connector_id) /* Bit4: DP connector flag * =0 connector is none-DP connector * =1 connector is DP connector |
