Skip to content

Commit b3ca02c

Browse files
anissegregkh
authored andcommitted
drm: Add orientation quirk for GPD Win Max
[ Upstream commit 0b464ca ] Panel is 800x1280, but mounted on a laptop form factor, sideways. Signed-off-by: Anisse Astier <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Sasha Levin <[email protected]>
1 parent d5f6f44 commit b3ca02c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/drm_panel_orientation_quirks.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,12 @@ static const struct dmi_system_id orientation_data[] = {
166166
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MicroPC"),
167167
},
168168
.driver_data = (void *)&lcd720x1280_rightside_up,
169+
}, { /* GPD Win Max */
170+
.matches = {
171+
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
172+
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"),
173+
},
174+
.driver_data = (void *)&lcd800x1280_rightside_up,
169175
}, { /*
170176
* GPD Pocket, note that the the DMI data is less generic then
171177
* it seems, devices with a board-vendor of "AMI Corporation"

0 commit comments

Comments
 (0)