From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: "Rafael J . Wysocki" <rafael@kernel.org>,
Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
Date: Tue, 7 May 2024 13:44:51 +0200 [thread overview]
Message-ID: <CAJZ5v0g0gaHQ1VxKgJYZTyEEd3foQXm315eWFoOM2U8mZpCQgQ@mail.gmail.com> (raw)
In-Reply-To: <20240506140906.26034-1-tiwai@suse.de>
On Mon, May 6, 2024 at 4:08 PM Takashi Iwai <tiwai@suse.de> wrote:
>
> Lenovo Slim 7 16ARH7 is a machine with switchable graphics between AMD
> and Nvidia, and the backlight can't be adjusted properly unless
> acpi_backlight=native is passed. Although nvidia-wmi-backlight is
> present and loaded, this doesn't work as expected at all.
>
> For making it working as default, add the corresponding quirk entry
> with a DMI matching "LENOVO" "82UX".
>
> Link: https://bugzilla.suse.com/show_bug.cgi?id=1217750
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
> drivers/acpi/video_detect.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
> index 9fdcc620c652..2cc3821b2b16 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -497,6 +497,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
> DMI_MATCH(DMI_PRODUCT_NAME, "82BK"),
> },
> },
> + {
> + .callback = video_detect_force_native,
> + /* Lenovo Slim 7 16ARH7 */
> + .matches = {
> + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "82UX"),
> + },
> + },
> {
> .callback = video_detect_force_native,
> /* Lenovo ThinkPad X131e (3371 AMD version) */
> --
Applied as 6.10 material, thanks!
prev parent reply other threads:[~2024-05-07 11:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-06 14:08 [PATCH] ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7 Takashi Iwai
2024-05-07 11:44 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJZ5v0g0gaHQ1VxKgJYZTyEEd3foQXm315eWFoOM2U8mZpCQgQ@mail.gmail.com \
--to=rafael@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).