diff options
| author | Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org> | 2017-12-29 19:54:48 +0530 |
|---|---|---|
| committer | Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org> | 2018-01-15 17:25:50 +0530 |
| commit | 1296062336d46e9fdd5b6692c1b731162e82d88b (patch) | |
| tree | 1c5779ae9352e604a4c3355d6b3fc023cca27499 /lib/mpi/mpi-cmp.c | |
| parent | de111ce20e214694791b10a106f6910f440fec4c (diff) | |
msm: thermal: use cluster frequency to request lmh dcvs from KTM
KTM lmh dcvs frequency mitigation uses given online/first cpu max/min
mitigation request. There can be cases like emergency frequency
mitigation where mitigation request is for a particular cpu only and
online/first cpu may be one of the other cpus from the same cluster.
In this case lmh dcvs takes online/first cpu max request which can be
in no mitigation state. It leads to unmitigated state even though one
of the cpus is triggered.
If device supports cluster mitigation, use min/max request of that
cluster instead of min/max request of given online/first cpu.
It ensures lmh dcvs mitigation if one of the cpu mitigation is
triggered and other unmitigated cpu of same cluster is given as
online/first cpu.
Change-Id: Ibbb913eb67a7f84d4c3658d0edae495990ca9010
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
