drm/amd/display: Remove unnecessary code
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 3 Apr 2024 17:14:26 +0000 (11:14 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:51:54 +0000 (21:51 -0400)
commit3854887b35e031c532dadc12cdd9e4b469304b5b
tree80461c41e09a96db365bff36a1f023c8e3fd19c1
parent71866b72cb5283aea87b6d3c297f431ca2ad556a
drm/amd/display: Remove unnecessary code

This commit groups many parts of the code that are redundant or not used
and drops all of them.

Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@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/dc.h
drivers/gpu/drm/amd/display/dc/dce/dce_i2c_hw.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dccg.h
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dwb.c