diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-21 07:06:42 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2019-07-21 07:06:42 +0000 |
commit | 0ac0903075e4015f83bbc41577397d0ef86f623b (patch) | |
tree | 492bcb9ee6fb6d1d04980550213051cce0701360 /sys | |
parent | e497f24f87f7294d9e6207fcc5476cc617b253ed (diff) |
add a panel orientation quirk for Kogan Atlas 2-in-1 D300
reported and tested by Peter Kane
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/drm/drm_panel_orientation_quirks.c | 6 |
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 b44bed55421..3099ff6b2a5 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -146,6 +146,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 |