Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98acd46f authored by Keith Packard's avatar Keith Packard
Browse files

drm/i915: Apple DMI info has inconsistent SYS_VENDOR information



Some machines say 'Apple Inc.' while others say 'Apple Computer, Inc'.
Switch the test to just look for 'Apple' instead.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent aa93d632
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -456,7 +456,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
		.callback = intel_no_lvds_dmi_callback,
		.ident = "Apple Mac Mini (Core series)",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
			DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
			DMI_MATCH(DMI_PRODUCT_NAME, "Macmini1,1"),
		},
	},
@@ -464,7 +464,7 @@ static const struct dmi_system_id intel_no_lvds[] = {
		.callback = intel_no_lvds_dmi_callback,
		.ident = "Apple Mac Mini (Core 2 series)",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "Apple Inc."),
			DMI_MATCH(DMI_SYS_VENDOR, "Apple"),
			DMI_MATCH(DMI_PRODUCT_NAME, "Macmini2,1"),
		},
	},