]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ACPI: video: force native for Lenovo 82K8
authorMario Limonciello (AMD) <superm1@kernel.org>
Wed, 20 Aug 2025 17:09:26 +0000 (12:09 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 25 Aug 2025 18:00:17 +0000 (20:00 +0200)
Lenovo 82K8 has a broken brightness control provided by nvidia_wmi_ec.
Add a quirk to prevent using it.

Reported-by: Wilson Alvarez <wilson.e.alvarez@rubonnek.com>
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4512
Tested-by: Wilson Alvarez <wilson.e.alvarez@rubonnek.com>
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Link: https://patch.msgid.link/20250820170927.895573-1-superm1@kernel.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index d507d5e084354bca52688f26cfc74534aca1e398..4cf74f173c785d435709c9d6792421f308909b39 100644 (file)
@@ -948,6 +948,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
                DMI_MATCH(DMI_PRODUCT_NAME, "Mipad2"),
                },
        },
+       /* https://gitlab.freedesktop.org/drm/amd/-/issues/4512 */
+       {
+        .callback = video_detect_force_native,
+        .matches = {
+               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+               DMI_MATCH(DMI_PRODUCT_NAME, "82K8"),
+               },
+       },
        { },
 };