Message ID | 20240628205822.348402-2-mattschwartz@gwu.edu (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: panel-orientation-quirks: Add quirk for Steam Deck Galileo revision and re-label the Deck panel quirks to specify hardware revision | expand |
On 6/28/2024 15:58, Matthew Schwartz wrote: > From: John Schoenick <johns@valvesoftware.com> > > Valve's Steam Deck Galileo revision has a 800x1280 OLED panel > > Signed-off-by: John Schoenick <johns@valvesoftware.com> > Signed-off-by: Matthew Schwartz <mattschwartz@gwu.edu> Thanks! Reviewed-by: Mario Limonciello <mario.limonciello@amd.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 3d127127e7cb..ac8319d38e37 100644 > --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c > +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c > @@ -427,6 +427,13 @@ static const struct dmi_system_id orientation_data[] = { > DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), > }, > .driver_data = (void *)&lcd800x1280_rightside_up, > + }, { /* Valve Steam Deck */ > + .matches = { > + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"), > + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galileo"), > + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), > + }, > + .driver_data = (void *)&lcd800x1280_rightside_up, > }, { /* VIOS LTH17 */ > .matches = { > DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 3d127127e7cb..ac8319d38e37 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -427,6 +427,13 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), }, .driver_data = (void *)&lcd800x1280_rightside_up, + }, { /* Valve Steam Deck */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galileo"), + DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "1"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* VIOS LTH17 */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "VIOS"),