[PATCH] drm/panel-orientation-quirks: Add quirk for Lenovo Tablet 10

From: Your Name

Date: Fri Dec 04 2026 - 17:22:40 EST


The Lenovo Tablet 10 (model 20L4S07G1M) has a portrait-mounted 1200x1920
MIPI-DSI panel (DSI-1) which is mounted rotated 90 degrees counter-clockwise.

Adding video=DSI-1:panel_orientation=right_side_up fixes the display
orientation in Plymouth, GDM, and GNOME desktop (including accelerometer
alignment when detached from the keyboard dock).

Add a panel orientation quirk entry for this device so it works out of
the box without needing manual kernel parameters.

Hardware DMI modalias:
dmi:bvnLENOVO:bvrN29ET49W(1.29):bd09/11/2020:br1.29:efr1.22:svnLENOVO:pn20L4S07G1M:pvrLenovoTablet10:rvnLENOVO:rn20L4S07G1M:rvrNotDefined:cvnLENOVO:ct32:cvrNone:skuLENOVO_MT_20L4LenovoTablet10:pfaLenovoTablet10:

Signed-off-by: Yevhen Kovhar <ken20001@xxxxxxx>
---
drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 1234567890ab..abcdef123456 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -260,6 +260,12 @@ static const struct dmi_system_id orientation_data[] = {
},
.driver_data = (void *)&lcd1200x1920_rightside_up,
}, { /* Lenovo Tablet 10 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "LenovoTablet10"),
+ },
+ .driver_data = (void *)&lcd1200x1920_rightside_up,
+ }, { /* Lenovo IdeaPad Duet 3 10IGL5 */
.matches = {
DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "IdeaPad Duet 3 10IGL5"),
--
2.47.0