linux/drivers/gpu/drm/amd
Nikola Cornij c2bcd914a2 drm/amd/display: Calculate link bandwidth in a common function
[why]
Currently link bandwidth is calculated in various places using the same
multi-step formula. Doing this in one common place makes sure the same
formula will indeed be applied to all link bandwidth calculations.
It also makes it possible to apply link-setting-specific adjustments
that affect effective link bandwidth.

[how]
Replace all implementations of link bandwidth calculation with a call
to a function.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-22 09:34:08 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: Enable DC support for Navi10 2019-06-22 09:34:07 -05:00
amdkfd drm/amdkfd: Add navi10 support to amdkfd. (v3) 2019-06-21 18:59:24 -05:00
display drm/amd/display: Calculate link bandwidth in a common function 2019-06-22 09:34:08 -05:00
include drm/amdgpu/mes10.1: add ip block mes10.1 (v2) 2019-06-21 18:58:22 -05:00
powerplay drm/amd/powerplay: add interface to get uclk dpm table 2019-06-22 09:34:06 -05:00