summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-07-10 09:11:37 +0000
committerjsg <jsg@openbsd.org>2020-07-10 09:11:37 +0000
commitc0786c54a58cf707795b00221b89d72ae9d31493 (patch)
treee5003fa2623bc5a3de4954bf33263af8bc897ed2 /sys/dev/pci
parentAdd "Spleen 6x12" to wsfont, a font targetted at OLED displays. (diff)
downloadwireguard-openbsd-c0786c54a58cf707795b00221b89d72ae9d31493.tar.xz
wireguard-openbsd-c0786c54a58cf707795b00221b89d72ae9d31493.zip
add back orientation quirk for Kogan Atlas 2-in-1 D300
local change lost in 5.7 drm update
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
index ffd95bfeaa9..04a84fb2f18 100644
--- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c
+++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c
@@ -180,6 +180,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "TW891"),
},
.driver_data = (void *)&itworks_tw891,
+ }, { /* Kogan Atlas 2-in-1 D300 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Kogan"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "KALAP10D300EA"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /*
* Lenovo Ideapad Miix 310 laptop, only some production batches
* have a portrait screen, the resolution checks makes the quirk