From: jsg Date: Thu, 19 Sep 2024 04:13:21 +0000 (+0000) Subject: drm: panel-orientation-quirks: Add quirk for Ayn Loki Max X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ee5125fea80bb2cc615b098cc0ca1f2113514f9;p=openbsd drm: panel-orientation-quirks: Add quirk for Ayn Loki Max From Bouke Sybren Haarsma 31b9fc3d0c1078a7ca5982de45a3f29ac2e7d711 in linux-6.6.y/6.6.52 2c71c8459c8ca66bd8f597effaac892ee8448a9f 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 43af9ab557e..a9e561cddd2 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 Max */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Loki Max"), + }, + .driver_data = (void *)&lcd1080x1920_leftside_up, }, { /* AYN Loki Zero */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "ayn"),