From: Aric Cyr <aric....@amd.com>

[Why]
Sink OUI supported cap is not set so driver skips programming it.

[How]
Revert the change the skips OUI programming if the cap is not set

Signed-off-by: Aric Cyr <aric....@amd.com>
Reviewed-by: Anthony Koo <anthony....@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pil...@amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c 
b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
index 2bfa4e35c2cf..1032551f84fc 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
@@ -4339,22 +4339,6 @@ void dp_set_fec_enable(struct dc_link *link, bool enable)
 
 void dpcd_set_source_specific_data(struct dc_link *link)
 {
-       uint8_t dspc = 0;
-       enum dc_status ret;
-
-       ret = core_link_read_dpcd(link, DP_DOWN_STREAM_PORT_COUNT, &dspc,
-                                 sizeof(dspc));
-
-       if (ret != DC_OK) {
-               DC_LOG_ERROR("Error in DP aux read transaction,"
-                            " not writing source specific data\n");
-               return;
-       }
-
-       /* Return if OUI unsupported */
-       if (!(dspc & DP_OUI_SUPPORT))
-               return;
-
        if (!link->dc->vendor_signature.is_valid) {
                struct dpcd_amd_signature amd_signature;
                amd_signature.AMD_IEEE_TxSignature_byte1 = 0x0;
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to