.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Generic System Framebuffers on x86 |
---|
3 | 4 | * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> |
---|
4 | 5 | * |
---|
5 | 6 | * EFI Quirks Copyright (c) 2006 Edgar Hucek <gimli@dark-green.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify it |
---|
8 | | - * under the terms of the GNU General Public License as published by the Free |
---|
9 | | - * Software Foundation; either version 2 of the License, or (at your option) |
---|
10 | | - * any later version. |
---|
11 | 7 | */ |
---|
12 | 8 | |
---|
13 | 9 | /* |
---|
.. | .. |
---|
19 | 15 | |
---|
20 | 16 | #include <linux/dmi.h> |
---|
21 | 17 | #include <linux/err.h> |
---|
| 18 | +#include <linux/efi.h> |
---|
22 | 19 | #include <linux/init.h> |
---|
23 | 20 | #include <linux/kernel.h> |
---|
24 | 21 | #include <linux/mm.h> |
---|
25 | 22 | #include <linux/pci.h> |
---|
26 | 23 | #include <linux/screen_info.h> |
---|
27 | 24 | #include <video/vga.h> |
---|
| 25 | + |
---|
| 26 | +#include <asm/efi.h> |
---|
28 | 27 | #include <asm/sysfb.h> |
---|
29 | 28 | |
---|
30 | 29 | enum { |
---|
.. | .. |
---|
265 | 264 | "Lenovo ideapad D330-10IGM"), |
---|
266 | 265 | }, |
---|
267 | 266 | }, |
---|
| 267 | + { |
---|
| 268 | + /* Lenovo IdeaPad Duet 3 10IGL5 with 1200x1920 portrait screen */ |
---|
| 269 | + .matches = { |
---|
| 270 | + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"), |
---|
| 271 | + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, |
---|
| 272 | + "IdeaPad Duet 3 10IGL5"), |
---|
| 273 | + }, |
---|
| 274 | + }, |
---|
| 275 | + { |
---|
| 276 | + /* Lenovo Yoga Book X91F / X91L */ |
---|
| 277 | + .matches = { |
---|
| 278 | + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"), |
---|
| 279 | + /* Non exact match to match F + L versions */ |
---|
| 280 | + DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"), |
---|
| 281 | + }, |
---|
| 282 | + }, |
---|
268 | 283 | {}, |
---|
269 | 284 | }; |
---|
270 | 285 | |
---|