diff options
| author | Pavankumar Kondeti <[email protected]> | 2020-11-28 01:39:23 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2020-12-08 17:21:16 +0000 |
| commit | 1080399542075bb0e9d46ea80418d76784d1ece8 (patch) | |
| tree | 31748702d18f8cdc18f5e1688a43f5239dccf203 /drivers/gpu/drm/lima/lima_devfreq.c | |
| parent | PM: EM: Update Energy Model with new flag indicating power scale (diff) | |
| download | kernel-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
