[PATCH] drm: panel-orientation-quirks: Add HUION Kamvas Studio 16

Tyron Govender posted 1 patch 15 hours ago
drivers/gpu/drm/drm_panel_orientation_quirks.c | 9 +++++++++
1 file changed, 9 insertions(+)
[PATCH] drm: panel-orientation-quirks: Add HUION Kamvas Studio 16
Posted by Tyron Govender 15 hours ago
Signed-off-by: Tyron Govender <dev@tyrongovender.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c
index 3a218fb59..85203b140 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -364,6 +364,15 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1617-01")
 		},
 		.driver_data = (void *)&lcd1080x1920_rightside_up,
+	}, {	/*
+	 * HUION Kamvas Studio 16
+	 * DMI has "Kavmas" spelling error, matched intentionally here
+	 */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "HUION"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Kavmas Studio 16"),
+		},
+		.driver_data = (void *)&lcd2560x1440_bottom_up,
 	}, {	/* I.T.Works TW891 */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "To be filled by O.E.M."),
-- 
2.54.0