drm/amd/display: fix link bw calculation for 422 and 420 encoding
authorEric Yang <Eric.Yang2@amd.com>
Fri, 23 Mar 2018 17:56:16 +0000 (13:56 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:08:08 +0000 (13:08 -0500)
commitcf65ebeb687678812eb3ddd5ef253bacf7ef330a
tree51a5e36792707c7c952a72f0157fdd6aa0154a86
parent3dc8acad23519123bdecaf3184f2ae774c5775fc
drm/amd/display: fix link bw calculation for 422 and 420 encoding

Link bw required is reduced when we have chroma subsampling.

Signed-off-by: Eric Yang <Eric.Yang2@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/dc/core/dc_link_dp.c