Skip to content

Commit

Permalink
fix constants
Browse files Browse the repository at this point in the history
  • Loading branch information
antheas committed Jun 3, 2024
1 parent e7526d4 commit 0a31507
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/adjustor/core/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
}

ALIB_PARAMS_7040: dict[str, AlibParams] = ALIB_PARAMS
ALIB_PARAMS_6040: dict[str, AlibParams] = ALIB_PARAMS
ALIB_PARAMS_8040: dict[str, AlibParams] = ALIB_PARAMS

DEV_PARAMS_7040: dict[str, DeviceParams] = {
"stapm_limit": D(0, 4, 15, 30, 40),
Expand All @@ -34,10 +36,8 @@
"temp_target": D(60, 70, 85, 90, 100),
}

ALIB_PARAMS_6040: dict[str, AlibParams] = ALIB_PARAMS
DEV_PARAMS_6040: dict[str, DeviceParams] = DEV_PARAMS_7040
DEV_PARAMS_8040: dict[str, DeviceParams] = DEV_PARAMS_7040

DEV_PARAMS_LEGO = DEV_PARAMS_7040

DEV_DATA: dict[str, tuple[dict[str, DeviceParams], dict[str, AlibParams], bool]] = {
Expand All @@ -48,10 +48,10 @@
CPU_DATA: dict[str, tuple[dict[str, DeviceParams], dict[str, AlibParams]]] = {
"AMD Ryzen Z1 Extreme": (DEV_PARAMS_7040, ALIB_PARAMS_7040),
"AMD Ryzen Z1": (DEV_PARAMS_7040, ALIB_PARAMS_7040),
"AMD Ryzen 7 7840U": (DEV_PARAMS_7040, ALIB_PARAMS_7040),
# GPD Win 4
# model name : AMD Ryzen 7 6800U with Radeon Graphics
# 28W works fine, 30W is pushing it
"AMD Ryzen 7 6800U": (DEV_PARAMS_6040, ALIB_PARAMS_6040),
"AMD Ryzen 7 8840U": (DEV_PARAMS_6040, ALIB_PARAMS_6040),
"AMD Ryzen 7 7840U": (DEV_PARAMS_7040, ALIB_PARAMS_7040),
"AMD Ryzen 7 8840U": (DEV_PARAMS_8040, ALIB_PARAMS_8040),
}

0 comments on commit 0a31507

Please sign in to comment.