aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <[email protected]>2020-11-28 01:39:23 +0000
committerRafael J. Wysocki <[email protected]>2020-12-08 17:21:16 +0000
commit1080399542075bb0e9d46ea80418d76784d1ece8 (patch)
tree31748702d18f8cdc18f5e1688a43f5239dccf203 /drivers/gpu/drm/lima/lima_devfreq.c
parentPM: EM: Update Energy Model with new flag indicating power scale (diff)
downloadkernel-1080399542075bb0e9d46ea80418d76784d1ece8.tar.gz
kernel-1080399542075bb0e9d46ea80418d76784d1ece8.zip
PM / EM: Micro optimization in em_cpu_energy
When the sum of the utilization of CPUs in a power domain is zero, return the energy as 0 without doing any computations. Acked-by: Quentin Perret <[email protected]> Reviewed-by: Dietmar Eggemann <[email protected]> Signed-off-by: Pavankumar Kondeti <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions