Commit 7751179a authored by Hans de Goede's avatar Hans de Goede Committed by Greg Kroah-Hartman

ACPI: video: Do not export a non working backlight interface on MSI MS-7721 boards

commit d21a9162 upstream.

Despite our heuristics to not wrongly export a non working ACPI backlight
interface on desktop machines, we still end up exporting one on desktops
using a motherboard from the MSI MS-7721 series.

I've looked at improving the heuristics, but in this case a quirk seems
to be the only way to solve this.

While at it also add a comment to separate the video_detect_force_none
entries in the video_detect_dmi_table from other type of entries, as we
already do for the other entry types.

Cc: All applicable <stable@vger.kernel.org>
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1783786Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ef23fb57
...@@ -328,6 +328,11 @@ static const struct dmi_system_id video_detect_dmi_table[] = { ...@@ -328,6 +328,11 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"), DMI_MATCH(DMI_PRODUCT_NAME, "Precision 7510"),
}, },
}, },
/*
* Desktops which falsely report a backlight and which our heuristics
* for this do not catch.
*/
{ {
.callback = video_detect_force_none, .callback = video_detect_force_none,
.ident = "Dell OptiPlex 9020M", .ident = "Dell OptiPlex 9020M",
...@@ -336,6 +341,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = { ...@@ -336,6 +341,14 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 9020M"), DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex 9020M"),
}, },
}, },
{
.callback = video_detect_force_none,
.ident = "MSI MS-7721",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "MSI"),
DMI_MATCH(DMI_PRODUCT_NAME, "MS-7721"),
},
},
{ }, { },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment