aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2024-04-03 16:49:04 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-04-08 16:05:14 +0200
commite3ac0f367d5806af09d2070bb7951af2f59d1f52 (patch)
tree05b300107304715a0f97eac8b9030bec0dfcd74d /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentfec50db7033ea478773b159e0e2efb135270e3b7 (diff)
OPP: OF: Export dev_opp_pm_calc_power() for usage from EM
There are device drivers which can modify voltage values for OPPs. It could be due to the chip binning and those drivers have specific chip knowledge about it. This adjustment can happen after Energy Model is registered, thus EM can have stale data about power. Export dev_opp_pm_calc_power() which can be used by Energy Model to calculate new power with the new voltage for OPPs. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions