Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp470508lqh; Tue, 7 May 2024 05:10:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWUfEXmYzzzzGp7poKu+RG2O5GVZlGobr1BxGRKCHfYafH9zUxUCcabOU3V4bhYywMO5z+4aMEIdF5Qe0d2Ukp1zknbugcz2zVARQIktQ== X-Google-Smtp-Source: AGHT+IF/7n00Il5gQ7H8Y/dnWOEbqaRqrzovI9p2QWHCc3nr1K2byeNe2TILL+uI6KFd5vyMxZp3 X-Received: by 2002:a17:902:f645:b0:1dc:3d5:bdcc with SMTP id m5-20020a170902f64500b001dc03d5bdccmr16346293plg.42.1715083810230; Tue, 07 May 2024 05:10:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715083810; cv=pass; d=google.com; s=arc-20160816; b=A1U4OBKI4oMI3FWrR5jnZ+U5pe17Ion2S41IJXSQl81aQ8HDlH/lb90GsmyHE6jsHo FB8hLC9GAq9hk/Wn0RmkTmo7fzaQaRb62C7NIZgVgBgP3RgGC5zc9bOfeWhOrYODLLFJ DQJOnpnezIyt4NW8j1Sov7D/kUO2CVR9mV0BN37lsICXnlPcox/gpwxSIM585RGgStDB cW8So7y4mPsWn0/sy2Og3StEzETLDzaeDcU9xeFNlvs1iutEyVQhDu+2lOYeXR4C5xTM gKYHFD+HwZicVcYRJY0CT86GqfffiJZZ1XMnEXqzJ9sgLN8nAsyiqAJdXy9efGbWaPVH lWiw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=PssqPfh3+PotnihY0J34CFmO4T5Ni1nU35ne9gNStVA=; fh=nAijXWy8VaF20RllkSYf0LTOYDBP+CZIqNlCfm8eLA8=; b=HZv4Hv2NDpzyTEDROghX0zePWuiCMrx+HjAcuMSC44oNb+fSvu1KXZfHXLdLr57EpP 9js7gJT6cHBp69cJbzM6HIOY5laTry4V8J3kCJEggccKabS8ixeb05AyhmPlBhRfGk7+ oBjqnG6H2P3bkiJ9RF0+XUjB96LwMQSj+bTOGxECp4LWvL/iys4xbVjDFHP+NWoGWQEL RfckU2IV2p9QMl9Lqvke2xzA3XK86AZLC853+q3VH8nZ/XYNSK7/WD7h+V2rHSaxm6jt 3R2QZgGLJW4SGzwaA83LXVEprNYMFKXjZXqrQDsfBYFa2V9vb54OMItZoBrgi6BSBpRk h4vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=njLZyg7m; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l13-20020a170903120d00b001e4063f59a4si10307383plh.581.2024.05.07.05.10.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 05:10:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=njLZyg7m; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-171218-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 81588B28719 for ; Tue, 7 May 2024 11:45:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 804D1156879; Tue, 7 May 2024 11:45:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="njLZyg7m" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A6EC6152DF5; Tue, 7 May 2024 11:45:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715082303; cv=none; b=evSyDoedgBuL5vk9BamPXO9cEZkN86S1pY/R29FG92bypy9B+edysXW+RY7UD9Xvlirht00+OJviMf9uN1HykYZTBJYl9tT7Yola8v3GSSQF5hPIuKBMjVYWx+wr5fB9lqPo3lTb0EhDnAokmTsaKFeEOwvc6IjwsWmfqDIDtGU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715082303; c=relaxed/simple; bh=yRrP8pE+cnSBCXddwAV+0wggGCo/3qBnwVjy9lG0DIc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fo3riWXcnwa/4UrWBgij8s4oxffD9BCmJ5Iz/gtREztPAZpzIveHASzViIZ4Qx0LOabxJmYBiQC0IhvyAg0rIwxQt402xUwj1l7/RchF1e0Kwf7J0HxUK0TzMDbdtMyoHKjopRUIrX/ae4Zm15Ej2N7Dm23x0pZLm/cE4p9FM6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=njLZyg7m; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A111C4AF63; Tue, 7 May 2024 11:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715082303; bh=yRrP8pE+cnSBCXddwAV+0wggGCo/3qBnwVjy9lG0DIc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=njLZyg7mEGBsO3m/qUFsP4vDq62ehhq0lIHdF+VucBnhhXyIgj6YL0kcnufHKtsiB sk6qNur6tlRM41gCqY6WMNwXhoMDMVk0XakrkwU6REBIsmlRKFdP8UDrCYV1d1NFpI 7k2N/lNme4dV6R/J6TYOwoFZjRJE+U5RqEOvZG8xNxBeCezVHu4hzT4yWzL8vlZZDf MnMpKmvqsK0qu8M0B1IYcIamQVTdFdZtjQNGKGHPAPlre+jZ8NqzmzWQNwtQv4xpmZ xNFQWICaSr6A95KGe108NGshyHDY+xa1q7tYjwGdAiTr71xTaGAq2X5qjdmB6ZwnzQ Fcjwimcgp7nmQ== Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5acdbfa7a45so940542eaf.2; Tue, 07 May 2024 04:45:03 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUMeucH20J1wgTRf2GhMx128DVW5klLfJRLWcJ8VvQNahWjBY7vtUeqlpOIGxpbB5LOKIHk6ltWo+IGimgW0iWnr5uQZcPIvmU6ar3XZI3O6WCQpc6DC+SA55QT4kWcZhzajXzzALwAQw== X-Gm-Message-State: AOJu0YzBM3U5aBpAfODjz1gQCI+YcOe0LuJCh5/zDPZqNY/lStYow+yJ fMBTPoMZUxYL8buUNfAw+LOaUY7hFGo2u7NqpDCXiPTuGV8vkpKwZmCLLgPmCsFMwFJVmcdex2Q Ubn/oQSwOeQOt+OKZugde6LpvveE= X-Received: by 2002:a4a:b6c2:0:b0:5aa:3e4f:f01e with SMTP id w2-20020a4ab6c2000000b005aa3e4ff01emr13215058ooo.1.1715082302489; Tue, 07 May 2024 04:45:02 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240506140906.26034-1-tiwai@suse.de> In-Reply-To: <20240506140906.26034-1-tiwai@suse.de> From: "Rafael J. Wysocki" Date: Tue, 7 May 2024 13:44:51 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7 To: Takashi Iwai Cc: "Rafael J . Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, May 6, 2024 at 4:08=E2=80=AFPM Takashi Iwai 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=3Dnative 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=3D1217750 > Signed-off-by: Takashi Iwai > --- > 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_t= able[] =3D { > DMI_MATCH(DMI_PRODUCT_NAME, "82BK"), > }, > }, > + { > + .callback =3D video_detect_force_native, > + /* Lenovo Slim 7 16ARH7 */ > + .matches =3D { > + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), > + DMI_MATCH(DMI_PRODUCT_NAME, "82UX"), > + }, > + }, > { > .callback =3D video_detect_force_native, > /* Lenovo ThinkPad X131e (3371 AMD version) */ > -- Applied as 6.10 material, thanks!