From ea1d2fb11b19f7c8f94090a899110af0d7b04413 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Mon, 17 Apr 2023 10:18:27 +0200 Subject: [PATCH] Add tdp defs for stellaris intel gen 5 --- src/tuxedo_io/tuxedo_io.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c index 879efd7..7dd3dfc 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -103,6 +103,9 @@ 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_gmxpxxx[] = { 0x05, 0x05, 0x05 }; +static int tdp_max_gmxpxxx[] = { 0x82, 0x82, 0xc8 }; + static int *tdp_min_defs = NULL; static int *tdp_max_defs = NULL; @@ -144,6 +147,9 @@ void uw_id_tdp(void) } else if (dmi_match(DMI_PRODUCT_SKU, "STEPOL1XA04")) { tdp_min_defs = tdp_min_gmxrgxx; tdp_max_defs = tdp_max_gmxrgxx; + } else if (dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI05")) { + tdp_min_defs = tdp_min_gmxpxxx; + tdp_max_defs = tdp_max_gmxpxxx; #endif } else { tdp_min_defs = NULL;