Skip to content

Commit 613b173

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amd/display: Don't call find_analog_engine() twice
The analog engine is already there in the link_analog_engine variable and assigned to enc_init_data.analog_engine already. I suspect this was a rebase mistake. Fixes: 436d0d2 ("drm/amd/display: Pass proper DAC encoder ID to VBIOS") Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Tested-by: Mauro Rossi <issor.oruam@gmail.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent aa25c11 commit 613b173

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/link/link_factory.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,6 @@ static bool construct_phy(struct dc_link *link,
561561
enc_init_data.connector = link->link_id;
562562
enc_init_data.channel = get_ddc_line(link);
563563
enc_init_data.transmitter = transmitter_from_encoder;
564-
enc_init_data.analog_engine = find_analog_engine(link, &enc_init_data.analog_encoder);
565564
enc_init_data.encoder = link_encoder;
566565
enc_init_data.analog_engine = link_analog_engine;
567566
if (link->ctx->dce_version <= DCN_VERSION_4_01)

0 commit comments

Comments
 (0)