[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220916182609.3039-8-mario.limonciello@amd.com>
Date: Fri, 16 Sep 2022 13:26:09 -0500
From: Mario Limonciello <mario.limonciello@....com>
To: <rafael@...nel.org>, <linux-kernel@...r.kernel.org>
CC: <travisghansen@...oo.com>, <catalin@...ebit.com>,
<Shyam-sundar.S-k@....com>,
Matthew Anderson <ruinairas1992@...il.com>,
<philipp.zabel@...il.com>, "Sebastian S ." <iam@...entr.al>,
Hans de Goede <hdegoede@...hat.com>,
Mario Limonciello <mario.limonciello@....com>,
"Len Brown" <lenb@...nel.org>, <linux-acpi@...r.kernel.org>
Subject: [PATCH v3 7/7] acpi/x86: s2idle: Add a quirk for ASUSTeK COMPUTER INC. ROG Flow X13
ASUSTeK COMPUTER INC. ROG Flow X13 has a problem with fans upon wakeup from
s2idle. In examining the ASL, functions 3 and 4 are not called in the AMD
codepath but only in the Microsoft codepath.
Add the system to the quirk list to force Microsoft codepath.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2148
Signed-off-by: Mario Limonciello <mario.limonciello@....com>
---
v2->v3:
* New patch
---
drivers/acpi/x86/s2idle.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/drivers/acpi/x86/s2idle.c b/drivers/acpi/x86/s2idle.c
index 9c84eb068e19..d6fab1eb6a83 100644
--- a/drivers/acpi/x86/s2idle.c
+++ b/drivers/acpi/x86/s2idle.c
@@ -440,6 +440,17 @@ static const struct dmi_system_id s2idle_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "82"),
},
},
+ {
+ /*
+ * ASUSTeK COMPUTER INC. ROG Flow X13 GV301RE_GV301RE
+ * https://gitlab.freedesktop.org/drm/amd/-/issues/2148
+ */
+ .callback = lps0_prefer_microsoft,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow X13 GV301"),
+ },
+ },
{}
};
--
2.34.1
Powered by blists - more mailing lists