From ff94989277f5ebb4c707f930e8990a9f8c1b93ae Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 19 Nov 2021 02:53:39 +0000 Subject: [PATCH] drm: panel-orientation-quirks: Add quirk for GPD Win3 From Mario Risoldi 7d1fb5c12cc0c88159ebf946385141ed3019f009 in linux 5.10.y/5.10.80 61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2 in mainline linux --- sys/dev/pci/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/pci/drm/drm_panel_orientation_quirks.c b/sys/dev/pci/drm/drm_panel_orientation_quirks.c index ab474d94271..17df8fcbcfa 100644 --- a/sys/dev/pci/drm/drm_panel_orientation_quirks.c +++ b/sys/dev/pci/drm/drm_panel_orientation_quirks.c @@ -191,6 +191,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_BOARD_NAME, "Default string"), }, .driver_data = (void *)&gpd_win2, + }, { /* GPD Win 3 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1618-03") + }, + .driver_data = (void *)&lcd720x1280_rightside_up, }, { /* I.T.Works TW891 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."), -- 2.20.1