drm/amd/display: Clean up code in DC
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 9 Apr 2024 20:34:59 +0000 (14:34 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 26 Apr 2024 21:22:45 +0000 (17:22 -0400)
commit7da45e746c097419019c0a1d17463a7931d62337
tree076b51560c5d5d2aa3be064638c9ea404fb812af
parent2a8f7464d33c759c3848737399d155a6c83c1ffa
drm/amd/display: Clean up code in DC

This commit removes some unnecessary code and makes the required
adjustments to replace other parts of the code with a short option.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dio_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn321/dcn321_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/inc/hw/link_encoder.h
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c