linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI: video: force native for Lenovo 82K8
@ 2025-08-20 17:09 Mario Limonciello (AMD)
  2025-08-25 18:01 ` Rafael J. Wysocki
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Limonciello (AMD) @ 2025-08-20 17:09 UTC (permalink / raw)
  To: mario.limonciello, rafael, lenb
  Cc: Mario Limonciello (AMD), Daniel Dadap, Hans de Goede,
	Wilson Alvarez, linux-acpi

Lenovo 82K8 has a broken brightness control provided by nvidia_wmi_ec.
Add a quirk to prevent using it.

Cc: Daniel Dadap <ddadap@nvidia.com>
Cc: Hans de Goede <hansg@kernel.org>
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>
---
 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 d507d5e084354..4cf74f173c785 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -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"),
+		},
+	},
 	{ },
 };
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI: video: force native for Lenovo 82K8
  2025-08-20 17:09 [PATCH] ACPI: video: force native for Lenovo 82K8 Mario Limonciello (AMD)
@ 2025-08-25 18:01 ` Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2025-08-25 18:01 UTC (permalink / raw)
  To: Mario Limonciello (AMD)
  Cc: mario.limonciello, rafael, lenb, Daniel Dadap, Hans de Goede,
	Wilson Alvarez, linux-acpi

On Wed, Aug 20, 2025 at 7:09 PM Mario Limonciello (AMD)
<superm1@kernel.org> wrote:
>
> Lenovo 82K8 has a broken brightness control provided by nvidia_wmi_ec.
> Add a quirk to prevent using it.
>
> Cc: Daniel Dadap <ddadap@nvidia.com>
> Cc: Hans de Goede <hansg@kernel.org>
> 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>
> ---
>  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 d507d5e084354..4cf74f173c785 100644
> --- a/drivers/acpi/video_detect.c
> +++ b/drivers/acpi/video_detect.c
> @@ -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"),
> +               },
> +       },
>         { },
>  };
>
> --

Applied as 6.18 material, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-25 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 17:09 [PATCH] ACPI: video: force native for Lenovo 82K8 Mario Limonciello (AMD)
2025-08-25 18:01 ` Rafael J. Wysocki

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 NNTP newsgroup(s).