diff options
| author | Nikola Cornij <[email protected]> | 2019-03-19 19:47:32 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-22 09:34:08 -0500 |
| commit | c2bcd914a2a7917442daf20a7b33d690f5903bea (patch) | |
| tree | 39a2dc287053ccc8315d44ed4b60adc55d73a732 /tools/perf/scripts/python | |
| parent | c5d3a38b1a18a0bcdfd4cc54e4396cce2aabc968 (diff) | |
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 <[email protected]>
Reviewed-by: Nikola Cornij <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions