diff options
Diffstat (limited to 'drivers/acpi/video_detect.c')
-rw-r--r-- | drivers/acpi/video_detect.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 940edbf2fe8f..84875fd4c74f 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c | |||
@@ -168,6 +168,14 @@ static struct dmi_system_id video_detect_dmi_table[] = { | |||
168 | DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), | 168 | DMI_MATCH(DMI_PRODUCT_NAME, "UL30A"), |
169 | }, | 169 | }, |
170 | }, | 170 | }, |
171 | { | ||
172 | .callback = video_detect_force_vendor, | ||
173 | .ident = "Lenovo Yoga 13", | ||
174 | .matches = { | ||
175 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | ||
176 | DMI_MATCH(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Yoga 13"), | ||
177 | }, | ||
178 | }, | ||
171 | { }, | 179 | { }, |
172 | }; | 180 | }; |
173 | 181 | ||
@@ -233,11 +241,11 @@ static void acpi_video_caps_check(void) | |||
233 | acpi_video_get_capabilities(NULL); | 241 | acpi_video_get_capabilities(NULL); |
234 | } | 242 | } |
235 | 243 | ||
236 | bool acpi_video_backlight_quirks(void) | 244 | bool acpi_osi_is_win8(void) |
237 | { | 245 | { |
238 | return acpi_gbl_osi_data >= ACPI_OSI_WIN_8; | 246 | return acpi_gbl_osi_data >= ACPI_OSI_WIN_8; |
239 | } | 247 | } |
240 | EXPORT_SYMBOL(acpi_video_backlight_quirks); | 248 | EXPORT_SYMBOL(acpi_osi_is_win8); |
241 | 249 | ||
242 | /* Promote the vendor interface instead of the generic video module. | 250 | /* Promote the vendor interface instead of the generic video module. |
243 | * This function allow DMI blacklists to be implemented by externals | 251 | * This function allow DMI blacklists to be implemented by externals |