projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee71fb6
)
drm: panel-orientation-quirks: Add quirk for GPD Win3
author
Mario
<awxkrnl@gmail.com>
Tue, 26 Oct 2021 11:27:37 +0000
(13:27 +0200)
committer
Sam Ravnborg
<sam@ravnborg.org>
Tue, 26 Oct 2021 18:57:10 +0000
(20:57 +0200)
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
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 30c17a76f49ae1e1d5ee3bae55a911b3a8474678..e1b2ce4921ae77b7683e2618e1755b5e99ba6113 100644
(file)
--- 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."),