diff options
| author | Peng Liu <pengliu@nvidia.com> | 2019-03-05 17:49:00 -0500 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2019-05-07 14:48:21 -0400 |
| commit | 524b0e580ae235ba89738418b4a623825bccae3d (patch) | |
| tree | be2816b343e7f525632a7d98fb2d88979c05d9db /include/linux | |
| parent | 0e2c026217cc62b041ee8c7dc32e63a6cfac17f1 (diff) | |
devfreq: podgov: use cycles/sec to estimate load
GPU clock may change within the period of time defined by smooth. Thus
the result of averaging load percentages within smooth window has less
meanning. New method keeps track of active GPU cycle count per time
unit, and average load is average active cycle count divided by
current GPU clock (total cycle count per time unit).
Bug 1963732
Change-Id: I88cfb998f9bcfa0d6d0397f653f8e3096d4b3eed
Signed-off-by: Peng Liu <pengliu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2033266
(cherry picked from commit 4080e458dd4e1651ef61f4d9cf3f2b5ea6eb6a1f)
Reviewed-on: https://git-master.nvidia.com/r/2104701
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aaron Tian <atian@nvidia.com>
Tested-by: Aaron Tian <atian@nvidia.com>
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
