From patchwork Thu Jun 27 20:30:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Schwartz X-Patchwork-Id: 13715043 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C48EC2BD09 for ; Thu, 27 Jun 2024 20:54:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2D6C110EB40; Thu, 27 Jun 2024 20:54:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gwmail.gwu.edu header.i=@gwmail.gwu.edu header.b="QSJNttYZ"; dkim-atps=neutral Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by gabe.freedesktop.org (Postfix) with ESMTPS id C39F810E364 for ; Thu, 27 Jun 2024 20:31:35 +0000 (UTC) Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-6c5bcb8e8edso6281298a12.2 for ; Thu, 27 Jun 2024 13:31:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1719520295; x=1720125095; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=puKEntbYEmMEidhzP0NA7FT52xgsmmmBOCRFF0y7bVk=; b=QSJNttYZTem6T2Ldb0bc17+Q+E4TL6Yi0/uxBSJeLrBBpJJz/tel7dWMQW325pgf/L PCuTiB9D4d3mgvOCUA4NHV4BF1HJsWf3vJT8J+INiImc4OGZVYajkW8F0VTa9sTp/FDo pAGhAWyG9FyZjsRNQMfQtytH4cKtAq9r3MpcjPcSSKPhs9RxZyRwH9gHClCXwqBJ9qRP MaxeabfMA4thCfXIA9ih3ue6qkacbCkzQCKtC9tgSGsTCImjRH4a7aO5jLs2GHyhjFzf 37jZYEx2BFJ7DxwU70/RM7l5J7dl7OJr4RWQcP3X+2VzT0Sa016M1hT9FAJ5hWdjdWZg +hoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719520295; x=1720125095; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=puKEntbYEmMEidhzP0NA7FT52xgsmmmBOCRFF0y7bVk=; b=jgyucTRTMZwLnckcgtF/3fuYNVDDiBIAUwmeZTLno8VgA0SXuCSDWoyCvHMvfRXcuS cdA7X/3bXkJsnim+yzfijXYdd4UrKquIrPGOyS5tqHH1rv4nfOXBJLLgeL8DuAHoZC6i A/koHqLkaQX3qVOaaXNywbNRiScAj/EcnMW566lW/xjVrEmFG/Sl/ofLToE2zc3errF5 iCgTq2MQzhoZHM9N2RVxmeNKunFYT5zpBZDgVJlTQMC1CMtiGHkzs68mMjTGqKKxSd7N tdHmnbb4+P1oM1OJ8Ac1wgBISb28LQ+64CArxeXelAmprf/Sooi7JJ/kkBPCAagRG3P6 vrhw== X-Forwarded-Encrypted: i=1; AJvYcCWwELt2BKJf25BKH3PP0kKxxCufkKUE+0HhglNx+09dhtpsIuJEUn08Ac9nWjXZlqK6iGJC6qaA/6HYSGCchmSfmNcjulcwxhLehIThcAMN X-Gm-Message-State: AOJu0YyQc50/BOgIgoqKM79Y3lZEg/b94nPiuGwb7TEXlQCyI0jYqFUw pYdpf6uxnKIsd7kvXzvEYqgoXhaZLjXvu5lT0VAjHPW6OenU7uS/ZVjuCYhipg== X-Google-Smtp-Source: AGHT+IH4yJEM2wH6Qd0uhyZ3YRcR+RRXG2M0fbCW7SjsmuVY0ysvtcnP0gO0nNFo9Kngj7OGCtFLAg== X-Received: by 2002:a05:6a20:c481:b0:1bd:2a48:2340 with SMTP id adf61e73a8af0-1bd2a482929mr5734664637.61.1719520294993; Thu, 27 Jun 2024 13:31:34 -0700 (PDT) Received: from aw-m18-r1.. (syn-023-241-237-137.res.spectrum.com. [23.241.237.137]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70801e63250sm140514b3a.29.2024.06.27.13.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 13:31:34 -0700 (PDT) From: Matthew Schwartz X-Google-Original-From: Matthew Schwartz To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: John Schoenick , Mario Limonciello , Kyle Gospodnetich , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Matthew Schwartz Subject: [PATCH v3 1/2] drm: panel-orientation-quirks: Add quirk for Valve Galileo Date: Thu, 27 Jun 2024 13:30:56 -0700 Message-ID: <20240627203057.127034-2-mattschwartz@gwu.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240627203057.127034-1-mattschwartz@gwu.edu> References: <20240627203057.127034-1-mattschwartz@gwu.edu> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 27 Jun 2024 20:53:57 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: John Schoenick Valve's Steam Deck Galileo revision has a 800x1280 OLED panel Suggested-by: John Schoenick Link: https://gitlab.com/evlaV/linux-integration/-/commit/d2522d8bf88b35a8cf6978afbbd55c80d2d53f4f Signed-off-by: Matthew Schwartz --- 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"), From patchwork Thu Jun 27 20:30:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Schwartz X-Patchwork-Id: 13715044 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1CC07C2BD09 for ; Thu, 27 Jun 2024 20:54:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CEE510EB44; Thu, 27 Jun 2024 20:54:30 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=gwmail.gwu.edu header.i=@gwmail.gwu.edu header.b="UmY7qnG6"; dkim-atps=neutral Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id 04C7B10EB24 for ; Thu, 27 Jun 2024 20:31:37 +0000 (UTC) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-5c2253cb606so1051807eaf.2 for ; Thu, 27 Jun 2024 13:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1719520297; x=1720125097; darn=lists.freedesktop.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IORRBfp0Ewdr4NJXGZVsVL9mCEVSyuiUr27OIsqu6N0=; b=UmY7qnG6gdKh34JavlwNB2dn5k/DwVRliDSiEEc2drdi+lyE2BmR7LQg8KXYyf7VXh Ut3euDcSMoqFlxYIMm/4xI9lNxIg6fjFqkfqZss2wiiSOeAdpxAIJy5x9dbU+oSKQ4lM lJYXs7KD8N9KkiU0k9fFX3/pn6ThrLWCt/TUyEQav4739fXGhMCtfDz1CK3UZd7nSw7A 1bDtBqGQbJFI26wDEDLszwYXiK5imIB8MKgBwKXULTPuKLQC4/XtaIKquZBkVhutGmBe uuCzq64W+Q+XWvK/wCyInN/Do06WJnHpEOPJcQnZLeiI5udDZ5yfEmlacwe4llQbcI+q E57g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719520297; x=1720125097; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IORRBfp0Ewdr4NJXGZVsVL9mCEVSyuiUr27OIsqu6N0=; b=UgLYkejKHe9zp+NFAJJeOvPx9UC4CHY0JhDUjyRQvkt83wTaw8PR1npe9wNdRKvJFD q7dCYO6zwhKyLfMk3mHgNapFpV9W6cGQAe/kQOGdK3bCC/TQ+aUdzhXJViTm2htelXRa 6vwYcYb38ZCxUn/Tw9kMFK8XjgUrCbmlJwe3kVgk1Jnnh1aQ8931UQvSB3g12gcs7efb k2Aw0o37A9EMrGP+Qkud+XedyQirsv0IuiENMAzKbQhJLUzDREjJth95WzsRYUVq6q8R RGB/BiPbZi0asM2qE7W25AsA7x6cSCG1m/paQxUFTRTE3/l082M4Sklurqkv17UPZpWU J0oQ== X-Forwarded-Encrypted: i=1; AJvYcCXqC5upy1fo43rhhneAZieqqsLO62Hk8ixLnpGwggB5JIGM30NsZJyhTCiJqsucEqYviqauDjecf7iGVsKWkknwSLHyC5DTP6lAbyuKfWNO X-Gm-Message-State: AOJu0YxYMul14sDOfXa5p2kC5ex8vjaCjgEG5gZernmazx48G1DFBMuT q2G4gn1SM22ZPqFZi7qjELY2x2C9P7l6/ZccNg+r9VinGB0+3Uu05UqHx1futg== X-Google-Smtp-Source: AGHT+IEBJYSCM9h1b35iPFvP+zkfebU7K58zBaeRlZZJLp0lbUnbdhB4vQ78TWCJKZsLanCWzd/izw== X-Received: by 2002:a05:6870:71d4:b0:258:3455:4b37 with SMTP id 586e51a60fabf-25d06eff0e4mr15152508fac.59.1719520296945; Thu, 27 Jun 2024 13:31:36 -0700 (PDT) Received: from aw-m18-r1.. (syn-023-241-237-137.res.spectrum.com. [23.241.237.137]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70801e63250sm140514b3a.29.2024.06.27.13.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jun 2024 13:31:36 -0700 (PDT) From: Matthew Schwartz X-Google-Original-From: Matthew Schwartz To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: John Schoenick , Mario Limonciello , Kyle Gospodnetich , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Matthew Schwartz Subject: [PATCH v3 2/2] drm: panel-orientation-quirks: Add labels for both Valve Steam Deck revisions Date: Thu, 27 Jun 2024 13:30:57 -0700 Message-ID: <20240627203057.127034-3-mattschwartz@gwu.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240627203057.127034-1-mattschwartz@gwu.edu> References: <20240627203057.127034-1-mattschwartz@gwu.edu> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 27 Jun 2024 20:53:57 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This accounts for the existence of two Steam Deck revisions instead of a single revision Signed-off-by: Matthew Schwartz Reviewed-by: Mario Limonciello --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index ac8319d38e37..3f84d7527793 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -420,14 +420,14 @@ 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 */ + }, { /* Valve Steam Deck (Jupiter) */ .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, - }, { /* Valve Steam Deck */ + }, { /* Valve Steam Deck (Galileo) */ .matches = { DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Valve"), DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Galileo"),