drm/amd/display: Add YCbCr420 only support for HDMI 4K@60
authorJerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Fri, 22 Jun 2018 21:12:47 +0000 (17:12 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Jul 2018 19:50:29 +0000 (14:50 -0500)
commite7baae1cfb7fd1a31fa8c968403cbc761cf999ff
tree98941b6e6fe4e9a76136effdecbc1212f41bf6a1
parent76fbdc63daaa216bdbd294e4d7ac6a35e1470126
drm/amd/display: Add YCbCr420 only support for HDMI 4K@60

[Why]
Some monitors mark 4K@60 capable HDMI port only have 300MHz TMDS
maximum, but the edid includes 4K@60 mode in cea extension block.

[How]
To enable 4K@60, need to limit BW by allowing YCbCr420 ONLY mode.
Add YCbCr420 only support for monitors that do not fully support
HDMI2.0, e.g., ASUS PA328. The YCbCr420 only support applies to
DCN, DCE112 or higher.

Signed-off-by: Jerry (Fangzhi) Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c