Skip to contentSkip to conversation

drm/panel-orientation-quirks: add Valve Steam Deck

PATCH In review Simon Ser 3 participants 4 messages Sep 11, 2021 – Sep 12, 2021

Subsystems (2)
lore
Share & tools
lore

Simon Ser

author
#0 lore raw

PATCH 1/1 drm/panel-orientation-quirks: add Valve Steam Deck

Valve's Steam Deck has a 800x1280 LCD screen.

Cc Jared Baldridge <[email protected]>
Cc Emil Velikov <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Hans de Goede <[email protected]>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
index f6bdec7fa925..3018d1dcd271 100644
@@ -231,6 +231,13 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* Valve Steam Deck */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Jupiter"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	},
 	{}
 };
Signature · 1 line
2.33.0
Acked-by on v1 1/1
#1 lore raw

Hi Simon,

Quoted 7 lines · Simon Ser

Valve's Steam Deck has a 800x1280 LCD screen.

Cc Jared Baldridge <[email protected]>
Cc Emil Velikov <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Hans de Goede <[email protected]>

The sorting is off - "Valve Steam Deck" comes before "VIOS LTH17"

With the sorting fixed:

(Not that I know this code, but I wanted to avoid this patch meeting the same fate as the patch from Hans that was left with no feedback for a long time).

Sam

Quoted 25 lines
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
index f6bdec7fa925..3018d1dcd271 100644
@@ -231,6 +231,13 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* Valve Steam Deck */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Jupiter"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	},
 	{}
 };
Signature · 1 line
2.33.0
#2 lore raw

Hi,

Quoted 13 lines · Sam Ravnborg

Hi Simon,

Quoted 7 lines · Simon Ser

Valve's Steam Deck has a 800x1280 LCD screen.

Cc Jared Baldridge <[email protected]>
Cc Emil Velikov <[email protected]>
Cc Daniel Vetter <[email protected]>
Cc Hans de Goede <[email protected]>

The sorting is off - "Valve Steam Deck" comes before "VIOS LTH17"

Quoted 7 lines

With the sorting fixed:

(Not that I know this code, but I wanted to avoid this patch meeting the same fate as the patch from Hans that was left with no feedback for a long time).

Sam thank you for Ack-ing this, I also notices the ordering issue and I've fixed this up while applying this.

I'm doing a test-build now and then I will push out the fixed-up version to drm-misc-next.

Regards,

Hans

Quoted 26 lines
Quoted 25 lines
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
index f6bdec7fa925..3018d1dcd271 100644
@@ -231,6 +231,13 @@ static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "LTH17"),
 		},
 		.driver_data = (void *)&lcd800x1280_rightside_up,
+	}, {	/* Valve Steam Deck */
+		.matches = {
+		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Jupiter"),
+		  DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"),
+		},
+		.driver_data = (void *)&lcd800x1280_rightside_up,
 	},
 	{}
 };
Signature · 1 line
2.33.0
author
#3 lore raw

Thanks for the fixup and the quick review!