lkml.org 
[lkml]   [2024]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v4 4/4] soc: samsung: exynos-asv: Update Energy Model after adjusting voltage
From
On 02/04/2024 17:58, Lukasz Luba wrote:

[...]

> @@ -97,9 +98,17 @@ static int exynos_asv_update_opps(struct exynos_asv *asv)
> last_opp_table = opp_table;
>
> ret = exynos_asv_update_cpu_opps(asv, cpu);
> - if (ret < 0)
> + if (!ret) {
> + /*
> + * When the voltage for OPPs could be changed,
> + * make sure to update the EM power values, to
> + * reflect the reality and not use stale data.
> + */

Maybe shorter?

/*
* Update EM power values since OPP
* voltage values may have changed.
*/

[...]

\
 
 \ /
  Last update: 2024-05-27 16:22    [W:0.036 / U:1.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site