mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
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: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
aa93d632c4
commit
98acd46f35
1 changed files with 2 additions and 2 deletions
|
@ -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"),
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue