diff options
author | Subrata Banik <subratabanik@google.com> | 2023-05-22 14:22:37 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-05-25 05:04:06 +0000 |
commit | a193308fabcfc9429c3d18ac16964c728d6b4942 (patch) | |
tree | 4a77ce12c2112427dfdff8b99775c89b7a138b4e /src/soc/mediatek/mt8173/gpio_init.c | |
parent | 90a825a7bcb775827c5caa678794138e71df9930 (diff) |
soc/intel/meteorlake: Set SaGv work points as enum macro
This patch adds an enum macro to define the different SaGv work points.
The enum macro is named `sagv_wp_bitmap` and it has three values:
The goal is to choose the optimal SaGv work point for the target
platform after considering the two inputs as power consumption and performance. The first group is for workloads that require high performance, even if it means consuming more power. The second group
is for workloads that can tolerate lower performance, in order to save
power.
SAGV_POINTS_0_1: The highest power consumption, but also the highest
performance.
SAGV_POINTS_0_1_2: A lower power consumption than work point
SAGV_POINTS_0_1, but also a lower performance.
SAGV_POINTS_0_1_2_3: The lowest power consumption, but also the lowest
performance.
Set SaGv work points after reviewing the power and performance impact
with SaGv set to 1 (Enabled) and various considering various work points
between 0-3 being enabled.
BUG=b:267879107
TEST=Able to build google/rex.
Signed-off-by: Subrata Banik <subratabanik@google.com>
Change-Id: I4af0038f2799a458d1b006270068341f65d36609
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75362
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8173/gpio_init.c')
0 files changed, 0 insertions, 0 deletions