[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250116155049.39647-10-uejji@uejji.net>
Date: Thu, 16 Jan 2025 15:50:51 +0000
From: John Edwards <uejji@...ji.net>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>
Cc: Andrew Wyatt <fewtarius@...amfork.org>,
John Edwards <uejji@...ji.net>,
Paco Avelar <pacoavelar@...mail.com>,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 4/4] drm: panel-orientation-quirks: Add new quirk for GPD Win 2
From: Andrew Wyatt <fewtarius@...amfork.org>
Some GPD Win 2 models shipped with the correct DMI strings.
Add a DMI match to correctly rotate the panel on these models.
Signed-off-by: Andrew Wyatt <fewtarius@...amfork.org>
Signed-off-by: John Edwards <uejji@...ji.net>
Tested-by: Paco Avelar <pacoavelar@...mail.com>
---
drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 9e6708cd1..e6148cc31 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -339,6 +339,12 @@ static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "Default string"),
},
.driver_data = (void *)&gpd_win2,
+ }, { /* GPD Win 2 (correct DMI strings) */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "WIN2")
+ },
+ .driver_data = (void *)&lcd720x1280_rightside_up,
}, { /* GPD Win 3 */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
--
2.43.0
Powered by blists - more mailing lists