OSDN Git Service

drm/amd/display: update conditions to do dfp cap ext validation
authorWenjing Liu <wenjing.liu@amd.com>
Fri, 13 Aug 2021 23:49:43 +0000 (19:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Sep 2021 19:57:09 +0000 (15:57 -0400)
commit928adbf65bb1f813487164edde6293bf42d8f195
tree55df5ef9266e07170e40fa97eb8f75aaedee61d9
parente0d09634acbbd0e217876e51d1a4d2d2a9397bc2
drm/amd/display: update conditions to do dfp cap ext validation

[why]
According to DP specs dfp cap ext validation is only for branch
device withou 128b/132b channel coding support and
downstream of the branch device doesn't have compression.
Therefore we are adding conditions to only do dfp cap
extension validation for branch devcie supporting 8b/10b
channel coding only and it has no DSC passthrough capability.

Acked-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Reviewed-by: George Shen <george.shen@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