Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2652490pxb; Sun, 3 Apr 2022 15:28:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuN9OUhdK1JU3xKb76C0JxCArD/BxgNxGtRVVPpt+BhI+g7xOdHuE1wAeWEG1MxQgcYXyz X-Received: by 2002:a65:568b:0:b0:378:86b8:9426 with SMTP id v11-20020a65568b000000b0037886b89426mr23345499pgs.70.1649024911778; Sun, 03 Apr 2022 15:28:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649024911; cv=none; d=google.com; s=arc-20160816; b=hUawqmUh00PpeCknRwI8PLUztJLw2dglxfARgfCfnDHCwy05m7bDWQQlrWBMXWWSmN oCgW++VCSHi3GrAAX169xzzGxQ6XQ35eixJ2g1+rnJ/Wr6Mfoftf4n6t44CSECsSH8pD PYWGXPIo1jyvAPl49+r8AaHrShwVfuISufM3c08A6ugORCk4xTWcagd8dfwrB9E2W2S5 Pmfv46bvnQ8oJlhan6CpEGBS/2vYkxybCkJGJYR0pzYCgsYmOAUE95auP1/BMKPIt+mt IHW1Nyea+TnLc4TbiySlhw/94JXHnHdXErHtWGWbT34K08RCOfq+ZtWtxtpLYrxDDLSa F6qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0viXnRuJuGuQIz6DnN4qc5taIIDHy5ufT1K97o74aUM=; b=hN1iaphkI6FrV9SGWKFXuEt1Y8/G75tp709HDklbG2JTU8G5eVI/FFY6/HO/w+EWEW Ssi1eQ6QEsS5YeplCQv0Z5m4Md5qPfjJ6gDd2dLFjm+Zp4KLBbo1aZcyXvslM6Q/JWxc 3A1mHa4FR87B4QqwM6xttirM6DpaFMiGvpUEMgonCvnt5Uj3NvVEgKyRf7ErWtG612AQ Pe0fAf1dTQG7wa5kUcTBTWDe9NLNgkw/kOq/oXui5SBEXrpeJLp0ABgQMhRAS2svgex3 885dyb7XMLS3udTR4Sh3j7kO/9o4EgaqjQhELliFNy9NnaZkkjz9Lm69P4wsz6XiCpn5 peuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uDKkOYFZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a170902bd8c00b001564f2a0782si7249406pls.345.2022.04.03.15.27.59; Sun, 03 Apr 2022 15:28:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uDKkOYFZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346828AbiDAO1c (ORCPT + 99 others); Fri, 1 Apr 2022 10:27:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235713AbiDAO1a (ORCPT ); Fri, 1 Apr 2022 10:27:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 806B21459BC; Fri, 1 Apr 2022 07:25:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 14A9361C2E; Fri, 1 Apr 2022 14:25:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19983C2BBE4; Fri, 1 Apr 2022 14:25:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648823140; bh=NS4ep+ynH/MO4fqollxIkLZFOHEpGJ6529DTMzlgoz4=; h=From:To:Cc:Subject:Date:From; b=uDKkOYFZ6/DMhrGMOL15AJyWn9twrqsTOniHxJPacl3NvKK1Ulg3R8Y2G1P07zp98 FwAMTlN8wjGq5Iy4Gd2RfdQkbkCIviEedDtbGTK0wvXha3eDp/Ey5qqbk9LNfghmns CZMUdhrPsZOpccza7iSaiE1Qbt+E35T+tFJyfqqsqHylhkeKcXwz+M4dENSv5j8hmD 1nUXq3dEssQTNB95yQsoHGD1I7kofCw0MY/HRg0mBvd7LsDyo1zcCh+j/Op81M8maN Lg2R7RwzcHWxrfepkmfdkhwHnft9/N86GTf0iXbybNBR5IQzNQp0AfFnVnxnwWt7wN NntZ82C5dSUKg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Anisse Astier , Hans de Goede , Jani Nikula , Sasha Levin , maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org Subject: [PATCH AUTOSEL 5.17 001/149] drm: Add orientation quirk for GPD Win Max Date: Fri, 1 Apr 2022 10:23:08 -0400 Message-Id: <20220401142536.1948161-1-sashal@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anisse Astier [ Upstream commit 0b464ca3e0dd3cec65f28bc6d396d82f19080f69 ] Panel is 800x1280, but mounted on a laptop form factor, sideways. Signed-off-by: Anisse Astier Reviewed-by: Hans de Goede Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/20211229222200.53128-3-anisse@astier.eu Signed-off-by: Sasha Levin --- drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/drm_panel_orientation_quirks.c b/drivers/gpu/drm/drm_panel_orientation_quirks.c index b910978d3e48..4e853acfd1e8 100644 --- a/drivers/gpu/drm/drm_panel_orientation_quirks.c +++ b/drivers/gpu/drm/drm_panel_orientation_quirks.c @@ -180,6 +180,12 @@ static const struct dmi_system_id orientation_data[] = { DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "MicroPC"), }, .driver_data = (void *)&lcd720x1280_rightside_up, + }, { /* GPD Win Max */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "GPD"), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, }, { /* * GPD Pocket, note that the the DMI data is less generic then * it seems, devices with a board-vendor of "AMI Corporation" -- 2.34.1