diff mbox series

drm:panel-orientation-quirks Added DeckHD support to panel orientation quirks for Steam Deck This commit introduces a new quirk to handle specific orientation issues for DeckHD panels on the Steam Deck. The quirk ensures the correct display orientation fo

Message ID 20241206214554.219-1-guyc.linux.patches@gmail.com (mailing list archive)
State New, archived
Headers show
Series drm:panel-orientation-quirks Added DeckHD support to panel orientation quirks for Steam Deck This commit introduces a new quirk to handle specific orientation issues for DeckHD panels on the Steam Deck. The quirk ensures the correct display orientation fo | expand

Commit Message

Guy Chronister Dec. 6, 2024, 9:45 p.m. UTC
Signed-off-by: Guy Chronister <guyc.linux.patches@gmail.com>
---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Guy Chronister Dec. 6, 2024, 5:05 p.m. UTC | #1
Disregard this one, I resubmitted after running "git format-patch -1 HEAD"
after breaking the subject/commit message amendment.


On Fri, Dec 6, 2024 at 9:45 AM Guy Chronister <guyc.linux.patches@gmail.com>
wrote:

> Signed-off-by: Guy Chronister <guyc.linux.patches@gmail.com>
> ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> index 3f2e2b851cbc..c412273799cb 100644
> --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
> @@ -456,6 +456,13 @@ static const struct dmi_system_id orientation_data[]
> = {
>                   DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
>                 },
>                 .driver_data = (void *)&lcd1280x1920_rightside_up,
> +       }, {    /* Valve Steam Deck (Jupiter) with DeckHD */
> +               .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 *)&lcd1200x1920_rightside_up,
>         }, {    /* Valve Steam Deck (Jupiter) */
>                 .matches = {
>                   DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),
> --
> 2.45.2
>
>
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 3f2e2b851cbc..c412273799cb 100644
--- a/drivers/gpu/drm/drm_panel_orientation_quirks.c
+++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c
@@ -456,6 +456,13 @@  static const struct dmi_system_id orientation_data[] = {
 		  DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galaxy Book 10.6"),
 		},
 		.driver_data = (void *)&lcd1280x1920_rightside_up,
+	}, {	/* Valve Steam Deck (Jupiter) with DeckHD */
+		.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 *)&lcd1200x1920_rightside_up,
 	}, {	/* Valve Steam Deck (Jupiter) */
 		.matches = {
 		  DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"),