From: jsg Date: Thu, 19 Sep 2024 04:11:20 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9d8c022a086955b041fb0508f248d5bd6e6cd974;p=openbsd drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero From Bouke Sybren Haarsma 7d42d19973cbe1fa30b6f2aad7d06189ec0ef2e8 in linux-6.6.y/6.6.52 b86aa4140f6a8f01f35bfb05af60e01a55b48803 in mainline linux --- diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c index 267f3f5173d..43af9ab557e 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -208,6 +208,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_MATCH(DMI_BOARD_NAME, "KUN"), }, .driver_data = (void *)&lcd1600x2560_rightside_up, + }, { /* AYN Loki Zero */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Zero"), + }, + .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* Chuwi HiBook (CWI514) */ .matches = { DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),