From 24e6f19b55448fb366ad33ccb9ef2426df8cfb00 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Fri, 12 May 2023 16:01:58 +0200 Subject: [PATCH] Add TDP def for IBPG8MK1 --- 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 7dd3dfc..5156b2b 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -82,6 +82,9 @@ static int tdp_max_ph4tqx[] = { 0x32, 0x32, 0x00 }; static int tdp_min_ph4axx[] = { 0x05, 0x05, 0x00 }; static int tdp_max_ph4axx[] = { 0x2d, 0x3c, 0x00 }; +static int tdp_min_phxpxx[] = { 0x05, 0x05, 0x05 }; +static int tdp_max_phxpxx[] = { 0x2a, 0x32, 0x5a }; + static int tdp_min_pfxluxg[] = { 0x05, 0x05, 0x05 }; static int tdp_max_pfxluxg[] = { 0x23, 0x23, 0x28 }; @@ -124,6 +127,9 @@ void uw_id_tdp(void) tdp_min_defs = tdp_min_ph4axx; tdp_max_defs = tdp_max_ph4axx; #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) + } else if (dmi_match(DMI_PRODUCT_SKU, "IBP1XI08MK1")) { + tdp_min_defs = tdp_min_phxpxx; + tdp_max_defs = tdp_max_phxpxx; } else if (dmi_match(DMI_PRODUCT_SKU, "PULSE1502")) { tdp_min_defs = tdp_min_pfxluxg; tdp_max_defs = tdp_max_pfxluxg;