From nobody Wed Dec 17 18:59:11 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A38BDC77B71 for ; Tue, 18 Apr 2023 06:42:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230189AbjDRGmN (ORCPT ); Tue, 18 Apr 2023 02:42:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230036AbjDRGmK (ORCPT ); Tue, 18 Apr 2023 02:42:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A40210E0 for ; Mon, 17 Apr 2023 23:42:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 359FB61B38 for ; Tue, 18 Apr 2023 06:42:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72813C433EF; Tue, 18 Apr 2023 06:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681800123; bh=y72DF0E7u7RU4Cxgdpwh3A5xcMzSKvfburM2M0qXuxQ=; h=From:To:Cc:Subject:Date:From; b=EOVwF1tfaMJciSs9pQ7IaKeHgB2VmmYdVlEuizjK4bqRIiYngAB1eHd4dhXKH+ZkD XalyJyjaTaHNTRhW+X3aTuPIut4EEKbBl8b0ze+I6C+5u8vNUPAshThhmHw4KhNTMx Q9kKZ4ExhACMH87OfVFn0iT8bhyQBSQlTuFHIjYYJhNcSHqXoFlEwliEx1Qk/WaeaU J0lNcgcfhqVTBH7D+Q9dNv9zkxG1AQaqXVYdfmaeTMEhRlI8rv3aJlZ3Skd4Gp7lsU qGQO3j2zCwJb0ipBZD2NJt4yVk75OYj9r+8CMm2yrOOHtmA9FwAoQmyABKbNO7xeW+ /MZu0/CmJD55w== From: "Jiri Slaby (SUSE)" To: rafael@kernel.org Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Hans de Goede , "Rafael J . Wysocki" Subject: [PATCH v2] ACPI: video: Add backlight=native DMI quirk for Lenovo Ideapad Z470 Date: Tue, 18 Apr 2023 08:42:00 +0200 Message-Id: <20230418064200.24303-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The Lenovo Ideapad Z470 predates Windows 8, so it defaults to using acpi_video for backlight control. But this is not functional on this model. Add a DMI quirk to use the native backlight interface which works. Link: https://bugzilla.suse.com/show_bug.cgi?id=3D1208724 Signed-off-by: Jiri Slaby (SUSE) Reviewed-by: Hans de Goede Cc: Rafael J. Wysocki --- Notes: [v2] fix authorship drivers/acpi/video_detect.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 69ef2d9710c2..af5cea005f54 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -459,6 +459,15 @@ static const struct dmi_system_id video_detect_dmi_tab= le[] =3D { DMI_MATCH(DMI_BOARD_NAME, "Lenovo IdeaPad S405"), }, }, + { + /* https://bugzilla.suse.com/show_bug.cgi?id=3D1208724 */ + .callback =3D video_detect_force_native, + /* Lenovo Ideapad Z470 */ + .matches =3D { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Z470"), + }, + }, { /* https://bugzilla.redhat.com/show_bug.cgi?id=3D1187004 */ .callback =3D video_detect_force_native, --=20 2.40.0