diff mbox series

drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01

Message ID 20220919133258.711639-1-hdegoede@redhat.com (mailing list archive)
State New, archived
Headers show
Series drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01 | expand

Commit Message

Hans de Goede Sept. 19, 2022, 1:32 p.m. UTC
The Nanote UMPC-01 is a mini laptop with a 1200x1920 portrait screen
mounted in a landscape oriented clamshell case. Add a quirk for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Simon Ser Nov. 7, 2022, 4:25 p.m. UTC | #1
Acked-by: Simon Ser <contact@emersion.fr>
Hans de Goede Nov. 8, 2022, 9:16 a.m. UTC | #2
Hi,

On 11/7/22 17:25, Simon Ser wrote:
> Acked-by: Simon Ser <contact@emersion.fr>

Thank you. I've pushed both patches to drm-misc-fixes now.

Regards,

Hans
diff mbox series

Patch

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 8a0c0e0bb5bd..f0f6fa306521 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -319,6 +319,12 @@  static const struct dmi_system_id orientation_data[] = {
 		 DMI_MATCH(DMI_BIOS_VERSION, "BLADE_21"),
 		},
 		.driver_data = (void *)&lcd1200x1920_rightside_up,
+	}, {	/* Nanote UMPC-01 */
+		.matches = {
+		 DMI_MATCH(DMI_SYS_VENDOR, "RWC CO.,LTD"),
+		 DMI_MATCH(DMI_PRODUCT_NAME, "UMPC-01"),
+		},
+		.driver_data = (void *)&lcd1200x1920_rightside_up,
 	}, {	/* OneGX1 Pro */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SYSTEM_MANUFACTURER"),