Skip to content

Commit 631b545

Browse files
superm1rafaeljw
authored andcommitted
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 Tested-by: short-circuit <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 888ca9c commit 631b545

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

drivers/acpi/x86/s2idle.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,17 @@ static const struct dmi_system_id s2idle_dmi_table[] __initconst = {
440440
DMI_MATCH(DMI_PRODUCT_NAME, "82"),
441441
},
442442
},
443+
{
444+
/*
445+
* ASUSTeK COMPUTER INC. ROG Flow X13 GV301RE_GV301RE
446+
* https://gitlab.freedesktop.org/drm/amd/-/issues/2148
447+
*/
448+
.callback = lps0_prefer_microsoft,
449+
.matches = {
450+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
451+
DMI_MATCH(DMI_PRODUCT_NAME, "ROG Flow X13 GV301"),
452+
},
453+
},
443454
{}
444455
};
445456

0 commit comments

Comments
 (0)