summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario <awxkrnl@gmail.com>2021-10-26 14:27:37 +0300
committerSam Ravnborg <sam@ravnborg.org>2021-10-26 21:57:10 +0300
commit61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2 (patch)
tree6ddcfdd1c4d0a2d2fcb6b2f32ad5113ed2d42ec8
parentee71fb6c4d99c51f2d82a32c503c872b7e40e7f7 (diff)
downloadlinux-61b1d445f3bfe4c3ba4335ceeb7e8ba688fd31e2.tar.xz
drm: panel-orientation-quirks: Add quirk for GPD Win3
Fixes screen orientation for GPD Win 3 handheld gaming console. Signed-off-by: Mario Risoldi <awxkrnl@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211026112737.9181-1-awxkrnl@gmail.com
-rw-r--r--drivers/gpu/drm/drm_panel_orientation_quirks.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 30c17a76f49a..e1b2ce4921ae 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/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."),