Re: [PATCH] x86/thinkpad_acpi: Enable s2idle quirk for 21A1 machine type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/8/2022 01:20, Lennard Gäher wrote:
Previously, the s2idle quirk was only active for the 21A0 machine type
of the P14s Gen2a product. This also enables it for the second 21A1 type,
thus reducing wake-up times from s2idle.

Signed-off-by: Lennard Gäher <gaeher@xxxxxxxxxxx>
Suggested-by: Mario Limonciello <mario.limonciello@xxxxxxx>

Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2181

---
  drivers/platform/x86/thinkpad_acpi.c | 8 ++++++++
  1 file changed, 8 insertions(+)

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 20e5c043a8e8..8476dfef4e62 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -4497,6 +4497,14 @@ static const struct dmi_system_id fwbug_list[] __initconst = {
  			DMI_MATCH(DMI_PRODUCT_NAME, "21A0"),
  		}
  	},
+	{
+		.ident = "P14s Gen2 AMD",
+		.driver_data = &quirk_s2idle_bug,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "21A1"),
+		}
+	},
  	{}
  };




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux