drm/amd/display: Fixed EdidUtility build errors
authorMark Morra <MarkAlbert.Morra@amd.com>
Mon, 28 Jun 2021 22:00:30 +0000 (18:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Jul 2021 20:37:17 +0000 (16:37 -0400)
commit91a9ead069b8cc91e33cbfd61d95678ef2cf204c
treed9a3c56a5f86454597b13e317e238a49bb61f83e
parentb30eda8d416c8b880b8bd0d422a798c526c549a6
drm/amd/display: Fixed EdidUtility build errors

[HOW]
Added #ifdefs and refactored various parts of dc to
allow dc_link to be built by AMD EDID UTILITY

[WHY]
dc_dsc was refactored moving some of the code that AMD EDID UTILITY needed
to dc_link, so now dc_link needs to be included by AMD EDID UTILITY

Squash in DCN config fix (Alex)

Reviewed-by: Leung Martin <Martin.Leung@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Mark Morra <MarkAlbert.Morra@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/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_types.h
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c