Commit 61b00c0a authored by Hans de Goede's avatar Hans de Goede Committed by Rafael J. Wysocki
Browse files

ACPI: video: Move Lenovo Legion S7 15ACH6 quirk to the right section



The video_detect_dmi_table[] quirk table has different sections for
different types of problems.

The Lenovo Legion S7 15ACH6 quirk deals with a non working nvidia_wmi_ec
backlight, move it to the section with the other models with this problem.

While at it also add a comment with the laptop model name to the quirk.

Fixes: f144bc21 ("ACPI: video: force native for Lenovo 82K8")
Signed-off-by: default avatarHans de Goede <johannes.goede@oss.qualcomm.com>
Link: https://patch.msgid.link/20260413093100.24993-1-johannes.goede@oss.qualcomm.com


Signed-off-by: default avatarRafael J. Wysocki <rjw@rjwysocki.net>
parent ad7997f5
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -907,6 +907,15 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
		DMI_MATCH(DMI_PRODUCT_NAME, "Vostro 15 3535"),
		},
	},
	{
	 /* https://gitlab.freedesktop.org/drm/amd/-/issues/4512 */
	 .callback = video_detect_force_native,
	 /* Lenovo Legion S7 15ACH6 */
	 .matches = {
		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
		DMI_MATCH(DMI_PRODUCT_NAME, "82K8"),
		},
	},

	/*
	 * x86 android tablets which directly control the backlight through
@@ -956,14 +965,6 @@ 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"),
		},
	},
	{ },
};