]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ACPI: x86: s2idle: Add another ID to s2idle_dmi_table
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 28 Sep 2022 16:19:35 +0000 (11:19 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 28 Sep 2022 19:32:49 +0000 (21:32 +0200)
It's reported that "ASUSTeK COMPUTER INC. ROG Flow X16 GV601RW" has
non-functional fans after resume when using the AMD codepath.  This
issue is fixed using the Microsoft codepath.

Add the 3 variants of this system to the Microsoft codepath DMI table.
* GV601RW
* GV601RM
* GV601RE

Link: https://www.reddit.com/r/linuxhardware/comments/wh50nd/compatibility_report_asus_rog_flow_x16_gv601rm/
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2148#note_1571241
Reported-by: Luke Jones <luke@ljones.dev>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c

index 3ae2ba74de92535279c23c4c7b9fc8e8eff8a6e2..0155c1d2d6081d62858da06fed5669b49dda9bdd 100644 (file)
@@ -451,6 +451,17 @@ static const struct dmi_system_id s2idle_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow X13 GV301"),
                },
        },
+       {
+               /*
+                * ASUSTeK COMPUTER INC. ROG Flow X16 GV601RW_GV601RW
+                * 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 X16 GV601"),
+               },
+       },
        {}
 };