Skip to content

Commit e106c96

Browse files
AMD-aricalexdeucher
authored andcommitted
drm/amd/display: AMD OUI (DPCD 0x00300) skipped on some sink
[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 <[email protected]> Reviewed-by: Anthony Koo <[email protected]> Acked-by: Aurabindo Pillai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 7edac0d commit e106c96

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4339,22 +4339,6 @@ void dp_set_fec_enable(struct dc_link *link, bool enable)
43394339

43404340
void dpcd_set_source_specific_data(struct dc_link *link)
43414341
{
4342-
uint8_t dspc = 0;
4343-
enum dc_status ret;
4344-
4345-
ret = core_link_read_dpcd(link, DP_DOWN_STREAM_PORT_COUNT, &dspc,
4346-
sizeof(dspc));
4347-
4348-
if (ret != DC_OK) {
4349-
DC_LOG_ERROR("Error in DP aux read transaction,"
4350-
" not writing source specific data\n");
4351-
return;
4352-
}
4353-
4354-
/* Return if OUI unsupported */
4355-
if (!(dspc & DP_OUI_SUPPORT))
4356-
return;
4357-
43584342
if (!link->dc->vendor_signature.is_valid) {
43594343
struct dpcd_amd_signature amd_signature;
43604344
amd_signature.AMD_IEEE_TxSignature_byte1 = 0x0;

0 commit comments

Comments
 (0)