projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35d876
)
drm: Add orientation quirk for GPD Win Max
author
Anisse Astier
<anisse@astier.eu>
Wed, 29 Dec 2021 22:22:00 +0000
(23:22 +0100)
committer
Jani Nikula
<jani.nikula@intel.com>
Fri, 31 Dec 2021 10:14:19 +0000
(12:14 +0200)
Panel is 800x1280, but mounted on a laptop form factor, sideways.
Signed-off-by: Anisse Astier <anisse@astier.eu>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20211229222200.53128-3-anisse@astier.eu
drivers/gpu/drm/drm_panel_orientation_quirks.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_panel_orientation_quirks.c
b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 042bb80383c932824e331e4ad1e8a2c911dbfac1..3dc383b1e2ba2afd9e33e96153e7ea4f9d0c8408 100644
(file)
--- a/
drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/
drivers/gpu/drm/drm_panel_orientation_quirks.c
@@
-174,6
+174,12
@@
static const struct dmi_system_id orientation_data[] = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MicroPC"),
},
.driver_data = (void *)&lcd720x1280_rightside_up,
+ }, { /* GPD Win Max */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"),
+ },
+ .driver_data = (void *)&lcd800x1280_rightside_up,
}, { /*
* GPD Pocket, note that the the DMI data is less generic then
* it seems, devices with a board-vendor of "AMI Corporation"