From patchwork Fri Jun 28 20:58:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Schwartz X-Patchwork-Id: 13716613 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 63EAFC2BD09 for ; Fri, 28 Jun 2024 20:59:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E0B6710E0A8; Fri, 28 Jun 2024 20:58:59 +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="EmwXJwsb"; dkim-atps=neutral Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5DCEE10E0A8 for ; Fri, 28 Jun 2024 20:58:58 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-711b1512aeaso777146a12.3 for ; Fri, 28 Jun 2024 13:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1719608338; x=1720213138; 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=Rye0EiFm+y+n48tR08Db7FMxQ3LsbJVQj2rHhzZ+sco=; b=EmwXJwsbbxu/BhuStv9xOGAf1JNX1CNfBz0a4XMWrlfjGki1FzxDGMZqpZmZYkKX3s ZAry+FoZCgerwKU/yy3Qy27H9Vn4vmeZYrVZgzxmJtQjxEg4mvxXifbBfXy8WIdTkgRp vKYd+gQNErj+Bo3j8yEhzx+pF1PqOYJ9R9a+1ah9UmZG1OFnhCQxSEhtbkkRsxw78LDe gVzn+OC/1MWUo8tygOTq+Z0orhra6nqsXyHTiiLASRfus2yvp+kltKHcNUOTS04yNFnI c4iJM80lZqkrIOyjm/09ZoVJw/mnSuI0uuk6OvUP+SQu4/SJ3ZrM0CNClRHmllmYAi+1 bYGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719608338; x=1720213138; 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=Rye0EiFm+y+n48tR08Db7FMxQ3LsbJVQj2rHhzZ+sco=; b=Waf1n1TDZ9omYNLabCvgpggKBaBjHa7NeA3UH6QhyiPRU44ftUmNfLbVOTFkN8Iohf gScP2Zc6gHYcXritBBYjOyjBnq5H/Y4cttJa9Y1NbzST3bfIEyhwFWPk3jx/tVBHIEom 1DXyvkvBP9MXpdv6aaG3mNmL4ROB2MbIpNG7fqL8k7cufaetBFAonhRXW9hN4DxdFlkO e9um0f5Wa/ahvKFJpI30t2l29FwN7DqzPljpur2foSW8mOtOjVic20kANAuRxtKrEKrA qrHdDROmpf0oThJjrK55NG6WLWaPyd1sZW6gyWJ7KeRgX+P5QHwCin1ofc26H59YMLiG Yngw== X-Forwarded-Encrypted: i=1; AJvYcCWTP8/PAXpAA0flu5jCXN/79YFz0YOo6eyE0Nk/aQPMUxzxHG9Ve28bo7SxHMwku/PQH9o3ZEgUy//Xu3yDfnhZsvcpFpwO0iHxeM2icaDX X-Gm-Message-State: AOJu0YyzKZ20iWWz0ZKISEZivRIezv1p+WAOHB7eQTL3XnLmQ3LYuNNV 2fPvNxNHbca3gMFNZ8jsMjT/acl1Ohwm2dcRaICUsJPqtMhWgghGYoJBBJshUg== X-Google-Smtp-Source: AGHT+IFxcOZjCVKeJGUxY9sk7tLOxg5KrpbtDuxwmb3yPHYRKFjrg4zi+5dpufDNlzWlKN+XkJYPEQ== X-Received: by 2002:a05:6a20:7195:b0:1be:c81d:7314 with SMTP id adf61e73a8af0-1bec81d7620mr7419100637.8.1719608337668; Fri, 28 Jun 2024 13:58:57 -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 d9443c01a7336-1fac1568f4esm19709635ad.191.2024.06.28.13.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 13:58:57 -0700 (PDT) From: Matthew Schwartz X-Google-Original-From: Matthew Schwartz To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: Mario Limonciello , Kyle Gospodnetich , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, John Schoenick , Matthew Schwartz Subject: [PATCH v4 1/2] drm: panel-orientation-quirks: Add quirk for Valve Galileo Date: Fri, 28 Jun 2024 13:58:21 -0700 Message-ID: <20240628205822.348402-2-mattschwartz@gwu.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240628205822.348402-1-mattschwartz@gwu.edu> References: <20240628205822.348402-1-mattschwartz@gwu.edu> MIME-Version: 1.0 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 Signed-off-by: John Schoenick Signed-off-by: Matthew Schwartz Reviewed-by: Mario Limonciello --- 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 Fri Jun 28 20:58:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Schwartz X-Patchwork-Id: 13716614 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 4CDA3C2BD09 for ; Fri, 28 Jun 2024 20:59:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C429210E0C8; Fri, 28 Jun 2024 20:59:06 +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="d/EGVB6N"; dkim-atps=neutral Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by gabe.freedesktop.org (Postfix) with ESMTPS id 26C6E10E1C1 for ; Fri, 28 Jun 2024 20:59:05 +0000 (UTC) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1fa2ea1c443so8094395ad.0 for ; Fri, 28 Jun 2024 13:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gwmail.gwu.edu; s=google; t=1719608344; x=1720213144; 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=d/EGVB6NiLaFgtB+4T5Iex6Lyp4DrI6d4BkknN5JtpVQFcveM/gs/wUlgGMZ6Bsdv1 zWsLXBAJC7KIT2B8MfayNK+5243reyjE0Y9gPdJnuMKd8yDMREPneI+0BPmgxwR29AAZ aB/1GHeWbuYUwqHvU6PaJGF4zqjNqp+SqPqCjumMZKQ5Z01xRHLrLv4QkKcVRSENMG1Y IIw+FjeV3kKhriPyVsK41R2kzhjcOQueiHmudTKeNoB2yTvh1K4UcnwWqzqtPnAggGnL 1IzbaeYrds9Jwm0QO+ul+vTcH1IFSTNOtG5UQtiZ4n1dDL0N72NQDSUeB5NdcjI6UFq0 aGlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719608344; x=1720213144; 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=gHCm0c7FvxZzV+GZe9mUEKCD/UDHDjAlOWD1yWf7/X/EX4YkW/X5ADLWqf7bn5p5DP vFzdyKD1hpi6L67r6cGavE7MiCdHBiDLd040ggz6dwNRZIQzfAx44mQRmXGPQJDPS0TP N0sganImyHTL3YHN1C9b/o7jZSmY+FPWcbSN8292xvFK+s+Jzwy81nbmIDkDwDNphCUq 01Rxzo3BilxVh8lB3ZFxw7d5suTNpYvw2a7zOry5MQ0sCMwN8RqKdRDtSnuSSInHZiuF 2w28bJQ2YAMVphSzi/daJuFcn8wHMJjS+axIsmFlJc5SAOjwR5djKcjcuDuXm0Zug8VI xu5w== X-Forwarded-Encrypted: i=1; AJvYcCXkTOCYQT2tit7qL+3vAhE9io+yb4Mh/475kSsH4O67Z6IMjfR1CE73QF+vGIMxqpB6c+4DF9iCy+kkeobCBbvFf6oIt6WZv3KtHsKbIGMk X-Gm-Message-State: AOJu0Yz1VZRkGeEE87EaCSL5NyugRVobri7Cl7IX2M73qU4piIdWgVYd WEeOXbLm2xMm0iTN5ouyCbHPpZYG5TeDWN+SOcM1Zv9CELaccvks/IcI8VSVfw== X-Google-Smtp-Source: AGHT+IExps8pzKWT7KxzQbIwg1CxXl9puvUHsya+uGADBA82LLEBRmY+uRgHuIHkiWG4e22L8hbQIQ== X-Received: by 2002:a17:902:e810:b0:1f9:b974:cbd6 with SMTP id d9443c01a7336-1fa238e4711mr188163455ad.1.1719608344583; Fri, 28 Jun 2024 13:59:04 -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 d9443c01a7336-1fac1568f4esm19709635ad.191.2024.06.28.13.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 13:59:04 -0700 (PDT) From: Matthew Schwartz X-Google-Original-From: Matthew Schwartz To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Cc: Mario Limonciello , Kyle Gospodnetich , Hans de Goede , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Matthew Schwartz Subject: [PATCH v4 2/2] drm: panel-orientation-quirks: Add labels for both Valve Steam Deck revisions Date: Fri, 28 Jun 2024 13:58:22 -0700 Message-ID: <20240628205822.348402-3-mattschwartz@gwu.edu> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240628205822.348402-1-mattschwartz@gwu.edu> References: <20240628205822.348402-1-mattschwartz@gwu.edu> MIME-Version: 1.0 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"),