]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
platform/x86: thinkpad_acpi: Explicitly set to balanced mode on startup
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 19 Aug 2022 18:01:00 +0000 (13:01 -0500)
committerHans de Goede <hdegoede@redhat.com>
Fri, 26 Aug 2022 10:53:32 +0000 (12:53 +0200)
commit23657a437ea2fbccc715fce2dac74e3c923540cf
tree2b0dcb4fffa44c821f51268c8a9b4239e26e9736
parent9c9ac2e659e1b009d16a1f43d8ca26abcf17e0bb
platform/x86: thinkpad_acpi: Explicitly set to balanced mode on startup

It was observed that on a Thinkpad T14 Gen1 (AMD) that the platform
profile is starting up in 'low-power' mode after refreshing what the
firmware had.  This is most likely a firmware bug, but as a harmless
workaround set the default profile to 'balanced' at thinkpad_acpi startup.

Reported-by: madcatx@atlas.cz
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216347
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220819180101.6383-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c