drm/panel-orientation-quirks: add Valve Steam Deck
Subsystems (2)
PATCH 1/1 drm/panel-orientation-quirks: add Valve Steam Deck
Valve's Steam Deck has a 800x1280 LCD screen.
--- drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/gpu/drm/drm_panel_orientation_quirks.c +7 -0
@@ -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
Hi Simon,
Quoted 7 lines · Simon Ser
Valve's Steam Deck has a 800x1280 LCD screen.
Signed-off-by Simon Ser <[email protected]>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@@ -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
Hi,
Quoted 13 lines · Sam Ravnborg
Hi Simon,
Quoted 7 lines · Simon Ser
Valve's Steam Deck has a 800x1280 LCD screen.
Signed-off-by Simon Ser <[email protected]>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:
Acked-by Sam Ravnborg <[email protected]>(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@@ -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
Thanks for the fixup and the quick review!