diff options
author | Nikola Cornij <nikola.cornij@amd.com> | 2019-03-19 19:47:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:08 -0500 |
commit | c2bcd914a2a7917442daf20a7b33d690f5903bea (patch) | |
tree | 39a2dc287053ccc8315d44ed4b60adc55d73a732 /sound | |
parent | c5d3a38b1a18a0bcdfd4cc54e4396cce2aabc968 (diff) | |
download | linux-c2bcd914a2a7917442daf20a7b33d690f5903bea.tar.gz linux-c2bcd914a2a7917442daf20a7b33d690f5903bea.tar.bz2 linux-c2bcd914a2a7917442daf20a7b33d690f5903bea.zip |
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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions