aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
diff options
context:
space:
mode:
authorNikola Cornij <nikola.cornij@amd.com>2019-03-19 19:47:32 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-04-10 13:53:28 -0500
commit332c11914a76200dfbafc6b46ae5e728216aac00 (patch)
tree470158bdde1433c18b255876632748c4bac574b9 /drivers/gpu/drm/amd/display/modules/power/power_helpers.c
parent0de34efc7b5f1f34676dcdd7ed8bb8a20038724d (diff)
drm/amd/display: Calculate link bandwidth in a common function
[why] Currently link bandwidth is calculated in two places, using the same formula. They should be unified into calling one function. [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 'drivers/gpu/drm/amd/display/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions