Re: [PATCH v2 13/17] PM: EM: Refactor struct em_perf_domain and add default_table

From: Lukasz Luba
Date: Mon Jul 03 2023 - 12:00:39 EST




On 5/30/23 11:23, Dietmar Eggemann wrote:
On 12/05/2023 11:57, Lukasz Luba wrote:
The Energy Model support runtime modifications. Refactor old
implementation which accessed struct em_perf_state and introduce
em_perf_domain::default_table to clean up the design. This new field
is better aligned with em_perf_domain::runtime_table and helps to
distinguish them better.

Update all drivers or frameworks which used the old field:
em_perf_domain::table and now should use em_perf_domain::default_table.

I still believe that doing this refactoring before the introducation o
the new feature `runtime modifiable EM` would do wonders on the
tangibility of the other patches in this set.

[...]


Let me move that refactor patch a bit earlier in the series...