OSDN Git Service

drm/amd/display: separate FEC capability from fec debug flag
authorWenjing Liu <Wenjing.Liu@amd.com>
Mon, 24 Feb 2020 22:19:02 +0000 (17:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Mar 2020 17:50:23 +0000 (13:50 -0400)
commite6b11b43cd565cbf69dd67b85ff3dbed18b4d491
tree3d4b755c1b8faa7736b4f94d323cdd8175d45e28
parente592e85f3378246dd66b861fa60ef803d8cece6b
drm/amd/display: separate FEC capability from fec debug flag

[why]
FEC capability query should not be affected by debugging decision on
whether to disable FEC. We should not determine if display supports FEC
by checking debug option.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Ashley Thomas <Ashley.Thomas2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dc.h