drm/amd/display: Remove USBC check for DCN32
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Thu, 2 May 2024 23:39:19 +0000 (17:39 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 May 2024 19:46:09 +0000 (15:46 -0400)
The CONNECTOR_ID_USBC check was removed to fix a regression, but it was
re-introduced by accident. This commit drops the USBC that causes the
regressions.

Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dcn32/dcn32_dio_link_encoder.c

index d9ff95cd2dbdb0d4f6e012807c0e8c8eda47beaf..06907e8a4eda12bf001344021b732ce134a224fc 100644 (file)
@@ -252,9 +252,6 @@ void dcn32_link_encoder_construct(
 
        enc10->base.features = *enc_features;
 
-       if (enc10->base.connector.id == CONNECTOR_ID_USBC)
-               enc10->base.features.flags.bits.DP_IS_USB_C = 1;
-
        enc10->base.transmitter = init_data->transmitter;
 
        /* set the flag to indicate whether driver poll the I2C data pin