Skip to content

Commit aeafffb

Browse files
Timur Kristófgregkh
authored andcommitted
drm/amd/display: Don't call find_analog_engine() twice
[ Upstream commit 613b173 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 5d4bfc7 commit aeafffb

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
@@ -648,7 +648,6 @@ static bool construct_phy(struct dc_link *link,
648648
enc_init_data.channel = get_ddc_line(link);
649649
enc_init_data.hpd_source = get_hpd_line(link);
650650
enc_init_data.transmitter = transmitter_from_encoder;
651-
enc_init_data.analog_engine = find_analog_engine(link, &enc_init_data.analog_encoder);
652651
enc_init_data.encoder = link_encoder;
653652
enc_init_data.analog_engine = link_analog_engine;
654653

0 commit comments

Comments
 (0)