Add Stellaris AMD Gen4 TDP ranges + threeprofile leds id

This commit is contained in:
Christoffer Sandberg 2022-09-27 15:13:13 +02:00
parent e6ecf69560
commit b9b6f240c8
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D
2 changed files with 7 additions and 0 deletions

View file

@ -100,6 +100,9 @@ static int tdp_max_gmxzgxx[] = { 0x50, 0x50, 0x5f };
static int tdp_min_gmxagxx[] = { 0x05, 0x05, 0x05 };
static int tdp_max_gmxagxx[] = { 0x78, 0x78, 0xd7 };
static int tdp_min_gmxrgxx[] = { 0x05, 0x05, 0x05 };
static int tdp_max_gmxrgxx[] = { 0x64, 0x64, 0x6e };
static int *tdp_min_defs = NULL;
static int *tdp_max_defs = NULL;
@ -138,6 +141,9 @@ void uw_id_tdp(void)
} else if (dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI04")) {
tdp_min_defs = tdp_min_gmxagxx;
tdp_max_defs = tdp_max_gmxagxx;
} else if (dmi_match(DMI_PRODUCT_SKU, "STEPOL1XA04")) {
tdp_min_defs = tdp_min_gmxrgxx;
tdp_max_defs = tdp_max_gmxrgxx;
#endif
} else {
tdp_min_defs = NULL;

View file

@ -224,6 +224,7 @@ struct uniwill_device_features_t *uniwill_get_device_features(void)
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03")
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03")
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI04")
|| dmi_match(DMI_PRODUCT_SKU, "STEPOL1XA04")
#endif
;