Add TDP def for IBPG8MK1

This commit is contained in:
Christoffer Sandberg 2023-05-12 16:01:58 +02:00
parent e2e69ea79d
commit 24e6f19b55
No known key found for this signature in database
GPG key ID: BF563F71B6C7A96D

View file

@ -82,6 +82,9 @@ static int tdp_max_ph4tqx[] = { 0x32, 0x32, 0x00 };
static int tdp_min_ph4axx[] = { 0x05, 0x05, 0x00 }; static int tdp_min_ph4axx[] = { 0x05, 0x05, 0x00 };
static int tdp_max_ph4axx[] = { 0x2d, 0x3c, 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_min_pfxluxg[] = { 0x05, 0x05, 0x05 };
static int tdp_max_pfxluxg[] = { 0x23, 0x23, 0x28 }; static int tdp_max_pfxluxg[] = { 0x23, 0x23, 0x28 };
@ -124,6 +127,9 @@ void uw_id_tdp(void)
tdp_min_defs = tdp_min_ph4axx; tdp_min_defs = tdp_min_ph4axx;
tdp_max_defs = tdp_max_ph4axx; tdp_max_defs = tdp_max_ph4axx;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) #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")) { } else if (dmi_match(DMI_PRODUCT_SKU, "PULSE1502")) {
tdp_min_defs = tdp_min_pfxluxg; tdp_min_defs = tdp_min_pfxluxg;
tdp_max_defs = tdp_max_pfxluxg; tdp_max_defs = tdp_max_pfxluxg;