aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGravatar Dave Airlie <airlied@redhat.com> 2021-10-28 17:27:10 +1000
committerGravatar Dave Airlie <airlied@redhat.com> 2021-10-28 17:27:14 +1000
commit79516af3497a5b89acb09f4a644f61d6c69e5f16 (patch)
tree497e2377dbc438b04d598ac9b048558fdfe69752 /drivers
parentMerge tag 'drm-misc-fixes-2021-10-26' of git://anongit.freedesktop.org/drm/dr... (diff)
parentdrm: panel-orientation-quirks: Add quirk for GPD Win3 (diff)
downloadlinux-79516af3497a5b89acb09f4a644f61d6c69e5f16.tar.gz
linux-79516af3497a5b89acb09f4a644f61d6c69e5f16.tar.bz2
linux-79516af3497a5b89acb09f4a644f61d6c69e5f16.zip
Merge tag 'drm-misc-fixes-2021-10-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-fixes
One patch to fix the default screen orientation on the GPD Win3 Signed-off-by: Dave Airlie <airlied@redhat.com> From: Maxime Ripard <maxime@cerno.tech> Link: https://patchwork.freedesktop.org/patch/msgid/20211028072300.b4gqexq6zfhby24g@gilmour
Diffstat (limited to 'drivers')
-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."),