diff options
author | John Schoenick <johns@valvesoftware.com> | 2024-06-28 13:58:21 -0700 |
---|---|---|
committer | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2024-07-01 07:23:29 -0400 |
commit | 26746ed40bb0e4ebe2b2bd61c04eaaa54e263c14 (patch) | |
tree | 01952208b3bded551ae557d45d5b7f3a8ea9f305 /drivers/gpu/drm/drm_panel_orientation_quirks.c | |
parent | 80bec6825b19d95ccdfd3393cf8ec15ff2a749b4 (diff) | |
download | lwn-26746ed40bb0e4ebe2b2bd61c04eaaa54e263c14.tar.gz lwn-26746ed40bb0e4ebe2b2bd61c04eaaa54e263c14.zip |
drm: panel-orientation-quirks: Add quirk for Valve Galileo
Valve's Steam Deck Galileo revision has a 800x1280 OLED panel
Cc: stable@vger.kernel.org # 6.1+
Signed-off-by: John Schoenick <johns@valvesoftware.com>
Signed-off-by: Matthew Schwartz <mattschwartz@gwu.edu>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240628205822.348402-2-mattschwartz@gwu.edu
Diffstat (limited to 'drivers/gpu/drm/drm_panel_orientation_quirks.c')
-rw-r--r-- | drivers/gpu/drm/drm_panel_orientation_quirks.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index 2166208a961d..5db52d6c5c35 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"), |