We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64be47b commit 2931937Copy full SHA for 2931937
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
@@ -395,8 +395,7 @@ void link_enc_cfg_link_encs_assign(
395
stream->link->dpia_preferred_eng_id != ENGINE_ID_UNKNOWN)
396
eng_id_req = stream->link->dpia_preferred_eng_id;
397
398
- if (eng_id == ENGINE_ID_UNKNOWN)
399
- eng_id = find_first_avail_link_enc(stream->ctx, state, eng_id_req);
+ eng_id = find_first_avail_link_enc(stream->ctx, state, eng_id_req);
400
}
401
else
402
eng_id = link_enc->preferred_engine;
@@ -501,7 +500,6 @@ struct dc_link *link_enc_cfg_get_link_using_link_enc(
501
500
if (stream)
502
link = stream->link;
503
504
- // dm_output_to_console("%s: No link using DIG(%d).\n", __func__, eng_id);
505
return link;
506
507
0 commit comments