drm/amd/display: Filter out YCbCr420 timing if VSC SDP not supported
authorGeorge Shen <george.shen@amd.com>
Fri, 16 Apr 2021 21:35:07 +0000 (17:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:44 +0000 (18:06 -0400)
commit05e62b6b6433e1159018eb5862e906a3db24dfcd
treec35d2f0b07d1c4523c9b458113281d00785f7379
parent70c14a1d7ee4d25d2024967979c8ba618849af54
drm/amd/display: Filter out YCbCr420 timing if VSC SDP not supported

[Why]
Per DP specification, YCbCr420 shall use VSC SDP.

[How]
For YCbCr420 timings, fail DP mode timing validation
if DPCD caps do not indicate VSC SDP colorimetry
support.

Signed-off-by: George Shen <george.shen@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Wayne Lin <Wayne.Lin@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_dp.c