commit | e49f69363adf8920883fff7e8ffecb802d897c6b | [log] [tgz] |
---|---|---|
author | Wenjing Liu <Wenjing.Liu@amd.com> | Thu Mar 21 13:05:36 2019 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Apr 10 13:53:27 2019 -0500 |
tree | 8ee70b90ae26c7bd2cb7f9a94befdd2ed58da32c | |
parent | e5490464f45db8b8006bc62d29ec9280debd0ef9 [diff] |
drm/amd/display: use proper formula to calculate bandwidth from timing [why] The existing calculation uses a wrong formula to calculate bandwidth from timing. [how] Expose the existing proper function that calculates the bandwidth, so dc_link can use it to calculate timing bandwidth correctly. Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>