]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
platform/x86/amd: pmc: Add Lenovo Yoga 6 13ALC6 to pmc quirk list
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 18 Jul 2025 17:23:05 +0000 (12:23 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 22 Jul 2025 13:04:45 +0000 (16:04 +0300)
The Lenovo Yoga 6 13ACL6 82ND has a similar BIOS problem as other Lenovo
laptops from that vintage that causes a rather long resume from suspend.

Add it to the quirk list that manipulates the scratch register to avoid
the issue.

Reported-by: Adam Berglund <adam.f.berglund@hotmail.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4434
Tested-by: Adam Berglund <adam.f.berglund@hotmail.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250718172307.1928744-1-superm1@kernel.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/pmc/pmc-quirks.c

index 131f10b683088539e09d171ed72bc95a53c3cdcf..ded4c84f5ed149d76a0aafca17aa762438dc98aa 100644 (file)
@@ -190,6 +190,15 @@ static const struct dmi_system_id fwbug_list[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "82XQ"),
                }
        },
+       /* https://gitlab.freedesktop.org/drm/amd/-/issues/4434 */
+       {
+               .ident = "Lenovo Yoga 6 13ALC6",
+               .driver_data = &quirk_s2idle_bug,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "82ND"),
+               }
+       },
        /* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
        {
                .ident = "HP Laptop 15s-eq2xxx",